/* Public profile details and shop navigation share one quiet lilac palette. */
body#public {
  --community-surface: #fff;
  --community-text: #302a3a;
  --community-muted: #70687b;
  --community-accent: #795492;
  --community-border: #e2d9eb;
  --community-soft: #f7f3fb;
  --community-selected: #efe6f6;
}
html[data-vrool-theme="dark"] body#public,
body#public[data-theme="dark"] {
  --community-surface: #222027;
  --community-text: #f1ebf6;
  --community-muted: #b9afc3;
  --community-accent: #ceb0e4;
  --community-border: #493d54;
  --community-soft: #2c2634;
  --community-selected: #362a42;
}
/* Mobile profile rules must not repaint the seller card white in dark mode. */
body#public #item-side > #seller.box.ml-profile-card {
  background: var(--community-surface) !important;
  border-color: var(--community-border) !important;
  box-shadow: none !important;
}
body#public #item-side #seller.box.ml-profile-card .name { color: var(--community-text) !important; }
body#public #item-side #seller.box.ml-profile-card .ml-profile-meta > div { color: var(--community-muted) !important; }
body#public #item-side #seller.box.ml-profile-card .ml-profile-stat {
  background: var(--community-soft) !important;
  border-color: var(--community-border) !important;
  color: var(--community-text) !important;
}
body#public #item-side #seller.box.ml-profile-card .ml-profile-stat-value,
body#public #item-side #seller.box.ml-profile-card .ml-profile-stat > span { color: var(--community-text) !important; }
body#public #item-side #seller.box.ml-profile-card .address {
  background: transparent !important;
  border-color: var(--community-border) !important;
  color: var(--community-muted) !important;
}
body#public #item-side > .box.profile-community {
  padding: 20px !important;
  margin-top: 10px;
  border: 1px solid var(--community-border) !important;
  border-radius: 16px;
  background: var(--community-surface) !important;
  color: var(--community-text);
  box-shadow: none !important;
}
body#public .profile-community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
body#public #item-side .profile-community-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--community-text) !important;
  font-size: 15px !important;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
body#public .profile-community-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--community-accent);
}
body#public .profile-community-badge {
  padding: 4px 9px;
  border: 1px solid var(--community-border);
  border-radius: 7px;
  color: var(--community-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
body#public .profile-community-bio {
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--community-border);
  color: var(--community-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body#public .profile-community-facts,
body#public .profile-community-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
body#public .profile-community-facts { margin-bottom: 16px; }
body#public .profile-community-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--community-border);
  border-radius: 8px;
  color: var(--community-text);
  font-size: 12px;
  line-height: 1.4;
}
body#public .profile-community-education { margin-bottom: 16px; }
body#public .profile-community-place {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
body#public .profile-community-place + .profile-community-place { border-top: 1px solid var(--community-border); }
body#public .profile-community-place-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid var(--community-border);
  border-radius: 9px;
}
body#public .profile-community-place-copy { min-width: 0; }
body#public .profile-community-place-name { color: var(--community-text); font-size: 13px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
body#public .profile-community-years { margin-top: 2px; color: var(--community-muted); font-size: 11px; line-height: 1.5; }
body#public .profile-community-interest {
  padding: 5px 9px;
  border: 1px solid var(--community-border);
  border-radius: 7px;
  color: var(--community-muted);
  font-size: 12px;
  line-height: 1.4;
}
body#public .profile-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--community-border);
}
body#public #item-side .profile-community-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid var(--community-border);
  border-radius: 9px;
  background: transparent;
  color: var(--community-accent) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .18s ease, background-color .18s ease;
}
body#public #item-side .profile-community-link:hover { border-color: var(--community-accent); background: var(--community-soft); }
body#public .profile-category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
body#public .profile-category-filters .vrool-profile-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px !important;
  border: 1px solid var(--community-border);
  border-radius: 10px;
  background: transparent;
  color: var(--community-muted) !important;
  font-size: 12px !important;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color .18s ease, background-color .18s ease;
}
body#public .profile-category-filters .vrool-profile-cat-btn.is-active { color: var(--community-accent) !important; border-color: var(--community-accent); background: var(--community-selected); }
body#public .profile-category-filters .vrool-profile-cat-btn:hover { color: var(--community-accent) !important; border-color: var(--community-accent); background: var(--community-soft); }
body#public .profile-community-link:focus-visible,
body#public .vrool-profile-cat-btn:focus-visible { outline: 2px solid var(--community-accent); outline-offset: 3px; }
body#public .profile-category-count { background: var(--community-soft); color: var(--community-accent); border-color: var(--community-border); }
/* One card outline, instead of framing the same product twice. */
body#public #items-tab .products.list .simple-prod { padding: 10px !important; box-shadow: none !important; }
body#public #items-tab .products.list .simple-prod .simple-wrap { border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body#public #items-tab .products.list .simple-prod .img-wrap { width: 100% !important; margin: 0 !important; }
body#public #items-tab .products.list .simple-prod .data { padding: 10px 0 0 !important; }
body#public #items-tab .products.list .simple-prod > .vrool-proof-badge { margin: 8px 0 0 !important; }
body#public #items-tab .products.list .vrool-bp-price { background: var(--community-soft) !important; border-color: var(--community-border) !important; }
body#public #items-tab .products.list .vrool-bp-price,
body#public #items-tab .products.list .vrool-bp-price .icon,
body#public #items-tab .products.list .vrool-bp-price .total { color: var(--community-accent) !important; }
/* Seller feedback keeps the same dark surface while hovering or using the keyboard. */
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side .box.profile-rating-box {
  background: var(--community-surface) !important;
  border-color: var(--community-border) !important;
  box-shadow: none !important;
}
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side .profile-rating-card {
  color: var(--community-text);
  text-decoration: none;
}
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side .profile-rating-card:is(:hover, :focus-visible) {
  background: var(--community-soft);
}
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side .profile-rating-card:focus-visible {
  outline: 2px solid var(--community-accent);
  outline-offset: -3px;
}
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side :is(.profile-rating-heading, .profile-rating-count) {
  color: var(--community-muted);
}
:is(html[data-vrool-theme="dark"], body[data-theme="dark"]) #item-side :is(.profile-rating-heading > i:first-child, .profile-rating-chevron, .profile-rating-score) {
  color: var(--community-accent);
}
/* A quiet invitation to explore a seller's wardrobe, with one gentle light sweep. */
body#public #public-main .profile-wardrobe-link {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  margin: 14px 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: var(--community-surface);
  color: var(--community-accent) !important;
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease;
}
body#public #public-main .profile-wardrobe-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, var(--community-selected) 50%, transparent 70%);
  transform: translateX(-110%);
  animation: profile-wardrobe-sweep 1.5s ease-out .4s 1;
  pointer-events: none;
}
body#public #public-main .profile-wardrobe-link > span:last-child {
  margin-left: auto;
  font-size: 19px;
  transition: transform .2s ease;
}
body#public #public-main .profile-wardrobe-link:is(:hover, :focus-visible) {
  background: var(--community-soft);
  border-color: var(--community-accent);
}
body#public #public-main .profile-wardrobe-link:is(:hover, :focus-visible) > span:last-child { transform: translate(2px, -2px); }
body#public #public-main .profile-wardrobe-link:focus-visible { outline: 2px solid var(--community-accent); outline-offset: 3px; }
@keyframes profile-wardrobe-sweep { to { transform: translateX(110%); } }
@media (max-width: 640px) {
  body#public #item-side > .box.profile-community { padding: 18px !important; }
  body#public .profile-community-link { min-height: 42px !important; }
  body#public .profile-category-filters { gap: 6px; }
  body#public .profile-category-filters .vrool-profile-cat-btn { min-height: 40px; padding: 8px 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body#public .profile-community-link,
  body#public .vrool-profile-cat-btn,
  body#public #public-main .profile-wardrobe-link,
  body#public #public-main .profile-wardrobe-link > span:last-child { transition: none; }
  body#public #public-main .profile-wardrobe-link::before { animation: none; }
  body#public #public-main .profile-wardrobe-link:is(:hover, :focus-visible) > span:last-child { transform: none; }
}
