@font-face {
  font-family:Inter; font-style:normal; font-weight:400; font-display:swap;
  src:url("/_content/ResearchCave.Commerce.Themes/fonts/Inter-Regular.ttf") format("truetype");
}
@font-face {
  font-family:Inter; font-style:normal; font-weight:500; font-display:swap;
  src:url("/_content/ResearchCave.Commerce.Themes/fonts/Inter-Medium.ttf") format("truetype");
}

:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#18181b;
  background:white;
  font-size:16px;
  font-weight:400;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  --card-shadow:0 0 0 1px #00000014,0 1px 2px -1px #00000014,0 2px 4px #0000000a;
  --line:#e4e4e7;
  --muted:#686872;
  --soft:#f5f5f6;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

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

a:hover {
  text-decoration:underline;
  text-underline-offset:3px;
}

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

button,.button {
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  border:1px solid #d7d7db;
  background:white;
  color:#202024;
  padding:.48rem .86rem;
  font-size:.875rem;
  font-weight:500;
  line-height:1.35;
  cursor:pointer;
  box-shadow:0 1px 2px #18181b0b;
}

button:hover,.button:hover {
  background:#f7f7f8;
  text-decoration:none;
}

button:disabled {
  opacity:.48;
  cursor:default;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid #4868a3;
  outline-offset:3px;
}

.primary,.primary:hover {
  background:#202024;
  color:white;
  border-color:#202024;
}

.wide {
  width:100%;
  padding:.72rem;
}

.light {
  background:#fff;
}

h1,h2,h3,h4,p {
  margin:0;
}

h1 {
  font-size:2rem;
  line-height:1.22;
  font-weight:500;
  letter-spacing:-.045em;
}

h2 {
  font-size:1.35rem;
  line-height:1.35;
  font-weight:500;
  letter-spacing:-.025em;
}

h3 {
  font-size:1.05rem;
  font-weight:550;
}

p {
  line-height:1.65;
}

.muted,.card-caption span+span,.basket-row p {
  color:var(--muted);
}

strong {
  font-weight:600;
}

.content,.nav-inner { width:min(100%,1440px); margin-inline:auto; padding-inline:24px; }
.store-nav { height:64px; background:white; position:sticky; top:0; z-index:5; border-bottom:1px solid var(--line); }
.nav-inner { height:100%; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.wordmark { text-transform:uppercase; font-size:20px; line-height:24px; font-weight:500; color:#52525b; }
.nav-links,.inline { display:flex; align-items:center; gap:1rem; }
.nav-links { justify-content:flex-end; gap:24px; }
.store-nav .nav-action,.nav-links a { font-size:13px; color:#52525b; font-weight:500; white-space:nowrap; }
.store-nav .nav-action { min-height:36px; padding:0; border:0; box-shadow:none; background:none; }
.nav-menu-toggle { justify-self:start; }
.store-menu-panel,.store-search-panel { position:fixed; margin:0; padding:24px; border:0; border-radius:8px; }
.store-menu-panel { inset:8px auto 8px 8px; width:calc(100vw / 3); height:calc(100dvh - 16px); color:white; background:rgba(3,7,18,.55); backdrop-filter:blur(40px); }
.store-menu-panel:popover-open { display:flex; flex-direction:column; justify-content:space-between; }
.store-menu-panel nav { display:grid; justify-items:start; gap:24px; }
.store-menu-panel nav a { font-size:32px; line-height:40px; }
.store-menu-panel small { font-size:13px; }
.store-menu-panel .popover-close { align-self:flex-end; background:transparent; color:white; font-size:24px; line-height:24px; padding:0 4px; border:0; box-shadow:none; }
.store-search-panel { inset:72px max(12px,calc((100vw - 1440px)/2 + 24px)) auto auto; width:min(360px,calc(100vw - 24px)); background:white; box-shadow:var(--card-shadow); }
.store-search-panel label { font-size:14px; font-weight:500; margin-bottom:12px; }
.store-search-panel form div { display:flex; gap:8px; }
.store-search-panel input { flex:1; }
.store-hero { height:75vh; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:24px; padding-inline:16px; text-align:center; background:#fafafa; border-bottom:1px solid var(--line); }
.store-hero h1,.store-hero p { font-size:32px; line-height:40px; font-weight:400; letter-spacing:normal; }
.store-hero p { color:#52525b; }
.hero-action { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; min-height:28px; background:white; border-radius:6px; font-size:13px; font-weight:500; box-shadow:var(--card-shadow); }
.hero-action:hover { background:#fafafa; text-decoration:none; }
.hero-action img { width:15px; height:15px; }
@media(max-width:639px) { .store-menu-panel { width:calc(100vw - 16px); } }
@media(min-width:1536px) { .store-menu-panel { width:25vw; } }

.collection {
  padding-block:3.8rem;
}

.section-head,.panel-head,.panel-tools {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}

.section-head {
  margin-bottom:1.5rem;
}

.section-head a {
  font-size:.875rem;
}

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

.product-card {
  min-width:0;
}

.product-card:hover {
  text-decoration:none;
}

.product-photo {
  aspect-ratio:4/5;
  background:var(--soft);
  overflow:hidden;
  border-radius:4px;
}

.product-photo img,.gallery img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.card-caption {
  display:flex;
  gap:.6rem;
  justify-content:space-between;
  margin-top:.75rem;
  font-size:.9rem;
}

.store-footer { border-top:1px solid var(--line); }
.footer-inner { width:min(100%,1440px); margin-inline:auto; padding-inline:24px; }
.footer-main { display:flex; justify-content:space-between; gap:24px; padding-block:160px; }
.footer-columns { display:grid; grid-template-columns:repeat(4,auto); gap:64px; }
.footer-columns nav { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.footer-columns h2,.footer-columns a,.footer-legal { font-size:13px; line-height:20px; letter-spacing:normal; }
.footer-columns h2 { font-weight:500; }
.footer-columns a,.footer-main .wordmark { color:#52525b; }
.footer-legal { display:flex; justify-content:space-between; gap:16px; margin-bottom:64px; color:#71717a; }
@media(max-width:767px) { .footer-columns { grid-template-columns:repeat(3,auto); gap:40px; } }
@media(max-width:639px) { .footer-columns { grid-template-columns:repeat(2,auto); } }
@media(max-width:511px) { .footer-main { flex-direction:column; } }

input,select,textarea {
  border:1px solid #d9d9dd;
  border-radius:6px;
  background:white;
  color:#28282d;
  padding:.5rem .65rem;
  min-width:0;
}

label {
  display:grid;
  gap:.38rem;
  font-size:.875rem;
}

textarea {
  resize:vertical;
  min-height:5rem;
}

.tools,.form-grid,.fields {
  display:grid;
  gap:.9rem;
}

.tools {
  grid-template-columns:1fr auto auto;
  margin:1.7rem 0;
}

.catalog {
  display:grid;
  grid-template-columns:190px 1fr;
  gap:3rem;
  padding-top:4rem;
  min-height:65vh;
}

.catalog aside {
  display:flex;
  align-items:start;
  flex-direction:column;
  gap:.6rem;
  font-size:.9rem;
}

.catalog aside h2 {
  font-size:1rem;
  margin:.4rem 0;
}

.catalog aside h2:not(:first-child) {
  margin-top:1.2rem;
}

.product-detail {
  display:grid;
  grid-template-columns:minmax(160px,300px) minmax(220px,1fr) minmax(160px,300px);
  gap:2.2rem;
  padding-top:2.5rem;
  align-items:start;
}

.details-copy,.purchase {
  position:sticky;
  top:100px;
}

.details-copy h1 {
  margin:.6rem 0 1rem;
}

.details-copy details {
  margin-top:2rem;
}

.details-copy summary,.edit summary {
  cursor:pointer;
}

.gallery {
  display:grid;
  gap:.8rem;
}

.gallery img {
  aspect-ratio:29/34;
  object-fit:cover;
  background:var(--soft);
  border-radius:4px;
}

.variation {
  border:0;
  border-bottom:1px solid var(--line);
  padding:0 0 1.3rem;
  margin:0 0 1.4rem;
}

.variation legend {
  font-size:.9rem;
  margin-bottom:.65rem;
}

.choices {
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.choices button {
  min-width:2.8rem;
}

.choices .chosen {
  border-color:#27272a;
  box-shadow:inset 0 0 0 1px #27272a;
}

.price {
  font-size:1.35rem;
  margin-bottom:1.2rem;
}

.cart {
  display:grid;
  grid-template-columns:2fr 1fr;
  align-items:start;
  gap:3rem;
  padding-block:4rem;
  min-height:65vh;
}

.cart h1,.account h1 {
  margin-bottom:1rem;
}

.basket-row {
  display:flex;
  gap:1rem;
  padding:1.25rem 0;
  border-bottom:1px solid var(--line);
}

.basket-row img {
  width:90px;
  height:115px;
  object-fit:cover;
}

.basket-row strong {
  margin-left:auto;
}

.basket-row input {
  width:4rem;
}

.basket-row label {
  display:flex;
  align-items:center;
}

.text-btn {
  box-shadow:none;
  border:none;
  padding:.4rem 0;
  color:var(--muted);
}

.summary {
  background:var(--soft);
  border-radius:.65rem;
  padding:1.5rem;
}

.summary h2,.account h2 {
  margin-bottom:1.4rem;
}

.summary .section-head {
  padding-block:1rem;
  border-block:1px solid var(--line);
}

.account {
  max-width:970px;
  padding-block:4rem;
  min-height:55vh;
}

.account p {
  margin:.6rem 0;
}

.account article {
  margin-bottom:1rem;
}

.account a.button {
  margin-top:1rem;
}

.admin {
  min-height:100vh;
  background:#f7f7f8;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  font-size:.875rem;
}

.sidebar {
  background:#fafafa;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:12px;
  gap:15px;
  position:sticky;
  top:0;
  height:100vh;
}

.workspace {
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight:600;
  padding:.3rem .45rem;
}

.avatar {
  display:grid;
  place-items:center;
  height:1.7rem;
  width:1.7rem;
  background:#27272a;
  color:#fff;
  border-radius:.45rem;
}

.sidebar nav {
  display:grid;
  gap:3px;
}

.sidebar nav a,.store-link {
  display:flex;
  gap:.7rem;
  align-items:center;
  padding:.46rem .6rem;
  border-radius:6px;
}

.sidebar nav a:hover,.store-link:hover {
  background:#ededf0;
  text-decoration:none;
}

.store-link {
  margin-top:auto;
  color:var(--muted);
}

.admin-main {
  min-width:0;
}

.crumb {
  display:flex;
  gap:.65rem;
  align-items:center;
  height:48px;
  padding-inline:18px;
  border-bottom:1px solid var(--line);
  background:white;
  color:var(--muted);
  font-size:.8rem;
}

.admin-content {
  max-width:1600px;
  margin:auto;
  padding:12px;
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  box-shadow:0 1px 2px #18181b0b;
  overflow:hidden;
}

.panel-head,.panel-tools {
  padding:16px 24px;
  border-bottom:1px solid var(--line);
}

.panel-tools:last-child {
  border-bottom:0;
}

.panel-head h1,.panel-head h2,.admin h2 {
  font-size:1.02rem;
  font-weight:550;
  letter-spacing:-.02em;
}

.panel-head span,.panel-tools {
  font-size:.85rem;
  color:var(--muted);
}

.overflow {
  overflow-x:auto;
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
}

th,td {
  padding:11px 20px;
  border-bottom:1px solid var(--line);
  text-align:left;
  white-space:nowrap;
}

th {
  font-weight:500;
  color:var(--muted);
  background:#fafafa;
}

.row-link {
  display:flex;
  gap:.6rem;
  align-items:center;
  font-weight:500;
}

.row-link img {
  width:28px;
  height:34px;
  object-fit:cover;
  border-radius:4px;
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  border:1px solid var(--line);
  border-radius:6px;
  padding:.12rem .45rem;
  color:#47474f;
  font-size:.8rem;
}

.badge i {
  height:7px;
  width:7px;
  border-radius:50%;
  background:#aaa;
}

.badge .published {
  background:#1d9a65;
}

.badge .proposed {
  background:#397ad9;
}

.badge .rejected {
  background:#ba4e49;
}

.admin-detail {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px, min(32%,440px));
  gap:16px;
  align-items:start;
}

.stack {
  display:grid;
  gap:12px;
  min-width:0;
}

.attributes {
  display:grid;
  grid-template-columns:minmax(95px,35%) 1fr;
  gap:.65rem 1rem;
  padding:16px 24px;
  margin:0;
}

.attributes dt {
  color:var(--muted);
}

.attributes dd {
  margin:0;
  overflow-wrap:anywhere;
}

.thumbs {
  display:flex;
  gap:.6rem;
  padding:14px 24px;
  flex-wrap:wrap;
}

.thumbs img {
  width:64px;
  height:76px;
  object-fit:cover;
  border-radius:5px;
}

.edit,.pad {
  padding:16px 24px;
}

.edit {
  border-top:1px solid var(--line);
}

.edit form {
  margin-top:1rem;
}

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

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

.form-grid,.pad h2,.edit h3 {
  margin-bottom:1rem;
}

.pad>label,.pad>p {
  margin-bottom:.7rem;
}

.upload input {
  max-width:72%;
}

@media(max-width:1023px) {
  .admin-detail {
    grid-template-columns:1fr;
  }
  .product-detail {
    grid-template-columns:1fr 1fr;
  }
  .gallery {
    grid-column:1;
    grid-row:1/3;
  }
  .details-copy,.purchase {
    position:static;
    grid-column:2;
  }
  .catalog {
    grid-template-columns:140px 1fr;
    gap:1rem;
  }
  .catalog .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .cart {
    grid-template-columns:1.5fr 1fr;
    gap:1rem;
  }
}

@media(max-width:680px) {
  .nav-links a:not(:last-child) {
    display:none;
  }

  .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .card-caption {
    flex-direction:column;
    align-items:start;
  }
  .nav-search span { display:none; }
  .store-nav .nav-inner { column-gap:6px; }
  .nav-links { gap:8px; white-space:nowrap; }

  .catalog,.cart,.product-detail,.admin {
    display:flex;
    flex-direction:column;
  }
  .catalog aside {
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
  }
  .catalog aside h2 {
    display:none;
  }
  .catalog>section,.cart>*,.product-detail>* {
    width:100%;
  }
  .tools {
    grid-template-columns:1fr auto;
  }
  .tools input[type=search] {
    grid-column:1/-1;
  }
  .product-detail {
    gap:1.5rem;
  }
  .gallery {
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }
  .gallery img {
    width:90%;
    flex:none;
    scroll-snap-align:start;
  }
  .sidebar {
    position:static;
    height:auto;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
    gap:.25rem;
  }
  .sidebar nav {
    display:flex;
  }
  .store-link {
    margin:0 0 0 auto;
  }
  .crumb {
    display:none;
  }
  .admin-main {
    width:100%;
  }
  .panel-head,.panel-tools,.pad,.edit,.attributes {
    padding:12px;
  }
  .panel-tools {
    flex-wrap:wrap;
  }
  .panel-tools input {
    max-width:150px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .basket-row img {
    width:64px;
    height:85px;
  }
  .basket-row {
    flex-wrap:wrap;
  }
  .cart,.catalog,.account {
    padding-block:2rem;
  }
  .collection {
    padding-block:2rem;
  }
}

.form-switch { display:block; margin-block:6px; }
.form-switch button { display:inline-flex; align-items:center; gap:9px; min-height:32px; border:0; padding:2px 0; font-size:13px; color:#3f3f46; background:transparent; box-shadow:none; text-align:left; }
.switch-track { display:inline-flex; align-items:center; flex:none; width:30px; height:18px; padding:2px; border-radius:10px; background:#a1a1aa; transition:background .15s; }
.switch-track::before { content:""; width:14px; height:14px; border-radius:50%; background:white; box-shadow:0 1px 2px #0003; transition:transform .15s; }
.form-switch [aria-checked="true"] .switch-track { background:#2563eb; }
.form-switch [aria-checked="true"] .switch-track::before { transform:translateX(12px); }
@media (prefers-reduced-motion:reduce) {
  .switch-track,.switch-track::before { transition:none; }
}

.subnav { display: grid; border-left: 1px solid var(--line); margin-left: .8rem; padding-left: .65rem; }
.sidebar nav .active { background: #ebebed; font-weight: 550; }
.admin-bottom { margin-top: auto; display: grid; gap: 12px; padding: 8px; }
@media (max-width:680px) { .sidebar nav { flex-wrap: wrap; } .subnav { display: flex; flex-wrap: wrap; margin: 0; } .admin-bottom { display: flex; } }
.settings-links { display: grid; gap: .7rem; margin: 1rem 0 2rem; }
.admin-bottom > a { display: flex; align-items: center; gap: .7rem; }

/* Shared shell for the standalone and embedded admin. */
.admin-shell { height:100dvh; min-height:0; overflow:hidden; background:#fafafa; font-size:13px; }
.admin-shell .admin-main { height:100%; display:flex; flex-direction:column; }
.admin-shell .admin-content { width:100%; flex:1; margin:0 auto; overflow:auto; }
.admin-shell .sidebar { gap:4px; padding:12px; overflow-y:auto; background:#fafafa; }
.admin-shell .workspace { min-height:28px; padding:2px; font-size:13px; cursor:pointer; list-style:none; }
.admin-shell summary::-webkit-details-marker { display:none; }
.admin-shell .workspace:hover,.admin-shell .command-trigger:hover { background:#f0f0f2; border-radius:6px; }
.admin-shell .avatar { width:24px; height:24px; background:linear-gradient(#8074df,#5b4bc0); font-size:12px; border-radius:5px; }
.admin-shell img.more { margin-left:auto; width:15px; height:15px; opacity:.6; }
.admin-shell .tenant-menu { position:relative; padding-bottom:12px; border-bottom:1px dashed #d4d4d8; }
.admin-shell .command-trigger { color:#52525b; display:flex; justify-content:flex-start; gap:10px; margin:8px 0 0; padding:4px 8px; min-height:24px; border:0; box-shadow:none; background:transparent; }
.command-trigger img,.crumb img { width:15px; height:15px; }
.admin-shell kbd { margin-left:auto; font:400 13px/16px Inter,sans-serif; color:#a1a1aa; }
.admin-shell .sidebar nav { display:grid; gap:4px; }
.admin-shell .nav-icon { display:grid; width:24px; height:24px; place-items:center; }
.admin-shell .sidebar nav a,.admin-shell .admin-bottom > a { min-height:28px; padding:2px 8px 2px 2px; gap:8px; color:#52525b; font-size:13px; line-height:16px; font-weight:500; }
.admin-shell .sidebar a:is(.active,.parent-active) { color:#18181b; background:white; box-shadow:var(--card-shadow); font-weight:500; }
.admin-shell .sidebar nav img,.admin-bottom > a img { opacity:.72; }
.admin-shell .subnav { display:grid; gap:1px; margin:0 0 2px 16px; }
.admin-shell .admin-bottom { display:grid; gap:12px; padding:0; }
.admin-shell .user-menu { position:relative; padding-top:10px; border-top:1px dashed #d4d4d8; }
.admin-shell .user-avatar { border-radius:50%; background:#e4e4e7; color:#52525b; }
.admin-shell .menu-card { position:absolute; min-width:175px; z-index:5; display:grid; gap:4px; padding:6px; background:white; border:1px solid var(--line); box-shadow:0 5px 16px #18181b15; border-radius:8px; }
.admin-shell .user-menu .menu-card { bottom:100%; }
.admin-shell .menu-card a,.admin-shell .menu-card form button { display:block; width:100%; border:0; box-shadow:none; padding:7px; text-align:left; font-size:13px; }
.admin-shell .crumb { display:flex; height:53px; flex:none; padding:12px; background:#fafafa; color:#3f3f46; gap:6px; }
.admin-shell .shell-toggle,.admin-shell .activity-link {
  display:grid; place-items:center; width:28px; height:28px; padding:0;
  color:#52525b; border:0; background:transparent; box-shadow:none; border-radius:6px;
}
.admin-shell .shell-toggle:hover,.admin-shell .activity-link:hover { background:#ebebed; }
.admin-shell .activity-link { margin-left:auto; }
.admin-shell .breadcrumb { display:flex; align-items:center; gap:8px; font-weight:500; }
.admin-shell .breadcrumb img { width:12px; height:12px; }
.admin-shell .sidebar-scrim,.admin-shell .drawer-close { display:none; }
.admin-shell .crumb { position:sticky; top:0; z-index:6; background:#fafafa; }
.admin-shell .admin-content { padding:12px; }
.admin-shell .panel { border:0; border-radius:8px; box-shadow:var(--card-shadow); }
.orders-panel { overflow:visible; }
.admin-shell .panel-head { min-height:60px; padding:16px 24px; }
.admin-shell .panel-head :is(h1,h2) { font-size:16px; line-height:24px; }
.admin-shell .panel-head :is(.button,button),.orders-panel .button,.orders-panel button,.order-menu summary {
  min-height:26px; padding:3px 9px; font-size:12px; line-height:18px; border-radius:6px;
}
.orders-panel img { width:15px; height:15px; }
.order-toolbar { display:flex; align-items:center; gap:8px; padding:14px 24px; border-bottom:1px solid var(--line); }
.order-filters { display:flex; flex:1 1 auto; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; }
.order-menu { position:relative; }
.order-menu summary {
  display:flex; align-items:center; gap:5px; list-style:none; color:#52525b; font-weight:500;
  border:1px dashed #d4d4d8; background:white; cursor:pointer;
}
.order-menu summary:hover,.order-menu[open] > summary { background:#f4f4f5; }
.order-sort summary { border:1px solid var(--line); padding:5px; }
.order-menu .menu-card { top:calc(100% + 5px); min-width:164px; }
.order-sort .menu-card { right:0; }
.order-menu .menu-card strong { color:var(--muted); font-size:11px; padding:5px 7px; }
.order-menu .menu-card a { display:flex; justify-content:space-between; align-items:center; border-radius:4px; }
.order-menu .menu-card a:hover { text-decoration:none; background:var(--soft); }
.order-menu .filter-picker { min-width:204px; gap:2px; padding:4px; }
.filter-picker details summary { border:0; border-radius:4px; padding:6px 8px; color:#27272a; justify-content:space-between; }
.filter-picker details[open] summary img { transform:rotate(180deg); }
.filter-picker nav { margin:2px 0 4px 8px; padding-left:6px; border-left:1px solid var(--line); }
.filter-picker nav a[aria-current] { color:#1d4ed8; background:#eff6ff; }
.order-menu .menu-card [aria-current]::after { content:"✓"; }
.filter-chip { display:inline-flex; align-items:center; gap:6px; min-height:26px; padding:3px 7px; border:1px solid var(--line); border-radius:6px; background:#fff; font-size:12px; }
.filter-chip span { color:var(--muted); }
.filter-chip strong { padding-left:6px; border-left:1px solid var(--line); font-weight:500; }
.filter-chip img { width:12px; opacity:.6; }
.filter-chip:hover { background:#fafafa; text-decoration:none; }
.order-search {
  display:flex; align-items:center; margin-left:auto; width:180px; height:28px;
  border:1px solid #d4d4d8; border-radius:6px; background:white;
}
.order-search:focus-within { outline:2px solid #4868a3; outline-offset:1px; }
.order-search button { padding:0 5px 0 8px; min-height:24px; background:none; border:0; box-shadow:none; }
.order-search input { border:0; border-radius:0; box-shadow:none; outline:0; padding:0 6px 0 0; width:100%; min-width:0; font-size:12px; background:transparent; }
.orders-grid { font-size:13px; }
.orders-grid th,.orders-grid td { height:48px; padding:0 24px 0 0; font-weight:400; color:#52525b; }
.orders-grid th { background:#fafafa; font-size:13px; font-weight:500; }
.orders-grid :is(th,td):first-child { padding-left:24px; }
.orders-grid :is(th,td):last-child { padding-right:24px; }
.orders-grid tbody tr { position:relative; background:white; }
.orders-grid tbody tr:hover,.orders-grid tr:focus-within { background:#f4f4f5; }
.orders-grid tbody tr:last-child td { border-bottom:0; }
.orders-grid .order-link { font-weight:500; color:#27272a; }
.order-link::after { content:""; position:absolute; inset:0; }
.products-panel .row-link { max-width:250px; gap:12px; }
.products-panel .row-link > span:last-child { overflow:hidden; text-overflow:ellipsis; }
.product-thumb { display:block; flex:none; width:24px; height:32px; border:1px solid var(--line); border-radius:3px; background:var(--soft); overflow:hidden; }
.product-thumb img { width:100%; height:100%; display:block; object-fit:cover; border-radius:0; }
.order-amount { text-align:right; font-variant-numeric:tabular-nums; }
.order-state { display:inline-flex; gap:6px; align-items:center; }
.order-state::before { content:""; width:7px; height:7px; background:#a1a1aa; border-radius:50%; }
.order-state.settled::before,.order-state.Delivered::before { background:#10b981; }
.order-state.pending::before,.order-state.PartiallyShipped::before,.order-state.ReturnRequested::before { background:#f59e0b; }
.order-state.Shipped::before { background:#3b82f6; }
.order-state.returned::before,.order-state.Returned::before { background:#8b5cf6; }
.order-empty { min-height:150px; padding:20px; display:grid; justify-items:center; align-content:center; gap:4px; text-align:center; }
.order-empty img { margin-bottom:8px; opacity:.65; }
.order-empty strong { font-size:13px; font-weight:550; }
.order-empty p,.order-empty a { font-size:13px; color:var(--muted); }
.order-empty.filtered { min-height:400px; }
.order-empty.filtered a { text-decoration:underline; text-underline-offset:3px; }
.order-pagination,.order-pagination nav { display:flex; align-items:center; gap:6px; }
.order-pagination { flex-wrap:wrap; justify-content:space-between; border-top:1px solid var(--line); padding:12px 24px; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.order-pagination nav span { margin-right:8px; }
.admin-search-dialog { width:min(92vw,460px); padding:0; border:1px solid var(--line); border-radius:12px; box-shadow:0 16px 64px #18181b26; }
.admin-search-dialog::backdrop { background:#18181b55; }
.admin-search-dialog header { display:flex; gap:8px; padding:12px; border-bottom:1px solid var(--line); }
.admin-search-dialog input { flex:1; min-width:0; }
.admin-search-dialog nav,.admin-search-dialog p { padding:8px; }
.admin-search-dialog nav { max-height:45vh; overflow:auto; }
.admin-search-dialog nav a { display:block; padding:7px 10px; border-radius:5px; }
.admin-search-dialog nav a[hidden] { display:none; }
.admin-search-dialog nav a:hover { background:#f4f4f5; }
@media (min-width:1024px) {
  .admin-shell[data-nav-toggled] { grid-template-columns:minmax(0,1fr); }
  .admin-shell[data-nav-toggled] .sidebar { display:none; }
}
@media (max-width:1023px) {
  .admin-shell { display:flex; flex-direction:column; }
  .admin-shell .sidebar { display:none; }
  .admin-shell .drawer-close { display:grid; place-items:center; align-self:flex-end; width:28px; height:28px; padding:0; }
  .admin-shell[data-nav-toggled] .sidebar { display:flex; flex-direction:column; align-items:stretch; flex-wrap:nowrap; position:fixed; inset:8px auto 8px 8px; width:min(304px,calc(100vw - 16px)); height:auto; z-index:8; border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 40px #18181b30; }
  .admin-shell[data-nav-toggled] .sidebar-scrim { display:block; position:fixed; inset:0; padding:0; border:0; border-radius:0; background:#18181b38; z-index:7; }
  .order-toolbar { flex-wrap:wrap; padding:10px 12px; }
  .order-menu .filter-picker { max-height:55vh; overflow-y:auto; }
  .order-search { width:min(32vw,180px); }
  .order-pagination { padding:10px 12px; }
}
.home-collections { padding-block:48px; }
.home-collections .collection { padding-block:96px; }
.home-collections .section-head { margin-bottom:32px; }
.home-collections .section-head h2 { font-size:20px; line-height:32px; font-weight:400; letter-spacing:normal; }
.home-collections .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:144px 24px; }
.home-collections .section-head a { color:#3b82f6; font-size:13px; font-weight:500; }
.home-collections .product-photo { aspect-ratio:11/14; border-radius:16px; background:#fafafa; box-shadow:var(--card-shadow); }
.home-collections .product-card:hover .product-photo { box-shadow:0 0 0 1px #0002,0 3px 6px #0001; }
.home-collections .card-caption { flex-direction:row; margin-top:16px; font-size:14px; line-height:20px; color:#52525b; }
.home-collections [data-price^="availability-"]:empty { display:none; }
.admin-shell .settings-back { padding:6px 8px 16px; display:flex; gap:10px; align-items:center; border-bottom:1px dashed var(--line); }
.admin-shell .settings-nav { padding-block:12px; }
.admin-shell .settings-nav section + section { margin-top:18px; }
.admin-shell .settings-nav h2 { padding:0 8px 6px; color:#71717a; font-size:12px; }
.admin-shell .settings-nav a { padding-left:8px; }
@media(max-width:1023px) {
  .home-collections .collection { padding-block:48px; }
  .home-collections .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:96px 24px; }
  .nav-account { display:none; }
}

.admin-form-drawer { position:fixed; inset:8px 8px 8px auto; margin:0; width:min(512px,calc(100vw - 16px)); height:calc(100dvh - 16px); padding:0; overflow:auto; border:0; border-radius:8px; box-shadow:var(--card-shadow),0 12px 36px #18181b24; }
.admin-form-drawer::backdrop { background:#18181b38; }
.store-properties { margin:0; }
.store-properties > div { display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:48px; padding:14px 24px; color:#52525b; }
.store-properties > div + div { border-top:1px solid var(--line); }
.store-properties dt { font-weight:500; }
.store-properties dd { margin:0; }
