/* Layout only. Color comes from the site theme unless Desk sets store colors. */
.jmb-store { max-width: 100%; }
.jmb-store a:link,
.jmb-store a:visited,
.jmb-store a:hover,
.jmb-store a:active {
  color: inherit;
}
.jmb-store a.jmb-btn:link,
.jmb-store a.jmb-btn:visited,
.jmb-store a.jmb-btn:hover,
.jmb-store a.jmb-btn:active,
.jmb-store a.jmb-cart-link:link,
.jmb-store a.jmb-cart-link:visited,
.jmb-store a.jmb-cart-link:hover,
.jmb-store a.jmb-cart-link:active,
.jmb-store a.jmb-chip-on:link,
.jmb-store a.jmb-chip-on:visited,
.jmb-store a.jmb-chip-on:hover,
.jmb-store a.jmb-chip-on:active,
.jmb-store a.jmb-tab-on:link,
.jmb-store a.jmb-tab-on:visited,
.jmb-store a.jmb-tab-on:hover,
.jmb-store a.jmb-tab-on:active {
  color: var(--jmb-accent-text, inherit);
}
.jmb-store-head, .jmb-desk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}
.jmb-store-head .jmb-cart-link { margin-left: auto; }
.jmb-title { margin: 0 0 0.5rem; font-size: 1.5rem; }
.jmb-sub { margin: 1.25rem 0 0.5rem; font-size: 1.1rem; }
.jmb-intro { margin: 0; }
.jmb-muted { color: var(--jmb-muted, inherit); opacity: 0.75; }
.jmb-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 999px;
  font-size: 0.85rem;
}
.jmb-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.jmb-chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  color: inherit;
}
.jmb-chip-on {
  font-weight: 600;
  background: var(--jmb-accent, transparent);
  color: var(--jmb-accent-text, inherit);
  border-color: var(--jmb-accent, currentColor);
}
.jmb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.jmb-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--jmb-surface, transparent);
}
.jmb-card-media {
  position: relative;
  display: block;
  min-height: 9rem;
  background: var(--jmb-media, transparent);
}
.jmb-card-media img, .jmb-detail-media img { width: 100%; height: auto; display: block; }
.jmb-card-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.jmb-card-name { margin: 0; font-size: 1.05rem; }
.jmb-card-name a { color: inherit; text-decoration: none; }
.jmb-card-tag { margin: 0.2rem 0 0; font-size: 0.8rem; opacity: 0.75; }
.jmb-card-desc { margin: 0.6rem 0 0; font-size: 0.9rem; flex: 1; }
.jmb-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}
.jmb-price-cap { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; }
.jmb-price { font-size: 1.35rem; font-weight: 600; }
.jmb-price-old { text-decoration: line-through; color: #c00; font-size: 0.95rem; }
.jmb-alt { font-size: 0.8rem; opacity: 0.75; }
.jmb-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--jmb-surface, transparent);
  border: 1px solid var(--jmb-border, currentColor);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}
.jmb-btn, .jmb-cart-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--jmb-accent, currentColor);
  border-radius: 0.35rem;
  background: var(--jmb-accent, transparent);
  color: var(--jmb-accent-text, inherit);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
}
.jmb-btn-danger {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
.jmb-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; }
@media (max-width: 700px) { .jmb-detail-grid { grid-template-columns: 1fr; } }
.jmb-detail-media {
  background: var(--jmb-media, transparent);
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 10rem;
}
.jmb-price-block { margin: 0.75rem 0; }
.jmb-prose { margin: 0.75rem 0; }
.jmb-html p { margin: 0 0 0.75rem; }
.jmb-html ul, .jmb-html ol { margin: 0 0 0.75rem 1.25rem; }
.jmb-panel { margin-top: 1.5rem; }
.jmb-panels { margin-top: 1.5rem; }
.jmb-add { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; align-items: center; }
.jmb-wide { width: 100%; box-sizing: border-box; margin-bottom: 0.4rem; }
.jmb-qty { width: 4rem; }
.jmb-input { margin-bottom: 0.4rem; }
.jmb-store input.jmb-wide,
.jmb-store input.jmb-input,
.jmb-store input.jmb-qty,
.jmb-store input.jmb-hex,
.jmb-store textarea.jmb-wide,
.jmb-store select.jmb-input,
.jmb-store select.jmb-wide {
  border: 1px solid var(--jmb-border, #c8c0b6) !important;
  border-radius: 0.35rem;
  background-color: var(--jmb-surface, #fff) !important;
  padding: 0.4rem 0.55rem;
  box-shadow: none;
  outline: none;
  color: inherit;
}
.jmb-store input.jmb-wide:focus,
.jmb-store input.jmb-input:focus,
.jmb-store input.jmb-qty:focus,
.jmb-store input.jmb-hex:focus,
.jmb-store textarea.jmb-wide:focus,
.jmb-store select.jmb-input:focus,
.jmb-store select.jmb-wide:focus {
  border-color: var(--jmb-accent, #6b5b95) !important;
}
.jmb-label { display: block; font-size: 0.75rem; margin: 0.4rem 0 0.15rem; clear: both; }
.jmb-file {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  overflow: visible;
}
.jmb-file .dnnFileUploadScope .dnnLeft > .dnnFormItem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  float: none;
  width: auto;
  min-height: 2rem;
  margin: 0 0 0.45rem;
}
.jmb-file .dnnFileUploadScope .dnnFormItem > span {
  float: none !important;
  position: static !important;
  display: inline-block;
  width: 4.25rem !important;
  min-width: 4.25rem;
  margin: 0;
}
.jmb-file .dnnFileUploadScope .dnnDropDownList.folder,
.jmb-file .dnnFileUploadScope .dnnDropDownList.file {
  float: none !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 14rem !important;
  flex: 0 0 14rem;
}
.jmb-assets { margin: 0 0 1rem; }
.jmb-asset-preview {
  width: 10rem;
  min-height: 6rem;
  margin: 0.35rem 0 0.6rem;
  border: 1px solid var(--jmb-border, #c8c0b6);
  background: var(--jmb-media, #f3e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jmb-asset-preview img { max-width: 100%; height: auto; display: block; }
.jmb-asset-row { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 0.4rem; }
.jmb-asset-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.jmb-asset-thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 1px solid var(--jmb-border, #c8c0b6);
  background: var(--jmb-surface, #fff);
  overflow: hidden;
  cursor: pointer;
}
.jmb-asset-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jmb-asset-thumb.is-on { border-color: var(--jmb-accent, #6b5b95); box-shadow: 0 0 0 1px var(--jmb-accent, #6b5b95); }
.jmb-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.25rem 0 0.5rem; }
.jmb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 999px;
  font-size: 0.8rem;
}
.jmb-pill-x { text-decoration: none; font-weight: 700; line-height: 1; color: inherit; opacity: 0.7; }
.jmb-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--jmb-border, currentColor);
}
.jmb-remove { white-space: nowrap; }
.jmb-back { margin-bottom: 0.75rem; }
.jmb-reviews { margin-top: 2rem; }
.jmb-review { padding: 0.75rem 0; border-bottom: 1px solid var(--jmb-border, currentColor); }
.jmb-review-meta { font-size: 0.8rem; opacity: 0.7; }
.jmb-review-title { font-weight: 600; }
.jmb-review-form, .jmb-checkout, .jmb-edit:not(.jmb-product-edit) { margin-top: 1rem; max-width: 40rem; }
.jmb-product-edit { margin-top: 1rem; max-width: 100%; overflow-x: hidden; }
.jmb-ship-title {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jmb-ship-pick { margin: 0 0 0.75rem; }
.jmb-ship-save {
  margin: 1rem 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--jmb-border, currentColor);
}
.jmb-total { font-size: 1.2rem; font-weight: 600; margin: 0.75rem 0; }
.jmb-instructions {
  padding: 1rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 0.75rem;
  background: var(--jmb-surface, transparent);
}
.jmb-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 1rem; }
.jmb-tab {
  padding: 0.3rem 0.7rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--jmb-border, currentColor);
  font-size: 0.85rem;
}
.jmb-tab-on {
  background: var(--jmb-accent, #5c4d7a);
  color: var(--jmb-accent-text, #fff);
  border-color: var(--jmb-accent, #5c4d7a);
}
.jmb-store .jmb-product-tabs button.jmb-tab {
  cursor: pointer;
  background: #fff !important;
  color: #2b2433 !important;
  border: 1px solid #8b8296 !important;
}
.jmb-store .jmb-product-tabs button.jmb-tab.jmb-tab-on {
  background: #4a3d6b !important;
  color: #fff !important;
  border-color: #4a3d6b !important;
}
.jmb-basics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.jmb-basics-main {
  flex: 1 1 18rem;
  min-width: 0;
}
.jmb-basics-desc {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0.85rem;
}
.jmb-editor-host { width: 100%; max-width: 100%; min-width: 0; }
.jmb-rte { border: 1px solid var(--jmb-border, #c8c0b6); border-radius: 0.55rem; background: #fff; }
.jmb-rte-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid var(--jmb-border, #c8c0b6);
}
.jmb-rte-bar button {
  border: 1px solid #c8c0b6;
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  font: inherit;
}
.jmb-rte-doc {
  min-height: 10rem;
  padding: 0.65rem 0.75rem;
  outline: none;
}
.jmb-rte-src { display: none !important; }
.jmb-basics-desc table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
}
.jmb-basics-desc iframe,
.jmb-basics-desc .cke,
.jmb-basics-desc .cke_inner,
.jmb-basics-desc .cke_contents {
  width: 95% !important;
  max-width: 95% !important;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .jmb-basics-desc { width: auto; flex-basis: 100%; }
}
.jmb-acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.jmb-acct-card {
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 0.75rem;
  padding: 0.85rem;
  background: var(--jmb-surface, transparent);
}
.jmb-form .dnnFormItem { margin-bottom: 0.75rem; }
.jmb-desk .jmb-btn { margin-top: 0.5rem; }
.jmb-desk input[type="checkbox"] { margin: 0.35rem 0.5rem 0.35rem 0; }
.jmb-swatch { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.jmb-swatch .jmb-label { margin: 0; min-width: 7rem; }
.jmb-hex { width: 7rem; }
.jmb-picker { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--jmb-border, currentColor); background: transparent; }

.jmb-ac { position: relative; margin-bottom: 0.4rem; }
.jmb-ac-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--jmb-border, currentColor);
  background: var(--jmb-surface, #fff);
  max-height: 16rem;
  overflow: auto;
}
.jmb-ac-list li { padding: 0.4rem 0.6rem; cursor: pointer; }
.jmb-ac-list li:hover, .jmb-ac-list li.is-on { background: var(--jmb-chip, rgba(0,0,0,0.06)); }

.jmb-take-lines { list-style: none; margin: 0.25rem 0 0.75rem; padding: 0; }
.jmb-take-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--jmb-border, currentColor);
}
.jmb-take-add { margin-right: 0.5rem; }
.jmb-take-opt { margin-bottom: 0.35rem; }

.jmb-desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--jmb-border, currentColor);
  border-bottom: 1px solid var(--jmb-border, currentColor);
}
.jmb-nav-group { min-width: 8rem; }
.jmb-nav-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 0.35rem;
}
.jmb-desk-nav .jmb-tabs { margin: 0; }
.jmb-tab-on { font-weight: 600; }
.jmb-crumb { margin: 0.2rem 0 0; font-size: 0.85rem; }
.jmb-crumb-sep { margin: 0 0.35rem; opacity: 0.5; }
.jmb-here { font-weight: 600; }
.jmb-back-link {
  align-self: center;
  font-size: 0.85rem;
  white-space: nowrap;
}
.jmb-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 0 0.75rem;
}
.jmb-toolbar .jmb-sub { margin: 0; }
.jmb-toolbar .jmb-btn { margin-top: 0; }
.jmb-section {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 0.75rem;
  background: var(--jmb-surface, transparent);
}
.jmb-section .jmb-sub { margin-top: 0; }
.jmb-field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}
.jmb-checks { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.5rem 0; }
.jmb-empty {
  padding: 1rem 0;
  opacity: 0.8;
}
.jmb-row-link { white-space: nowrap; }
.jmb-subnav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.jmb-product-edit .jmb-toolbar { margin-bottom: 0.5rem; }
.jmb-product-edit .jmb-ptab { display: none; }
.jmb-product-shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  contain: inline-size;
  overflow-x: hidden;
}
.jmb-product-nav {
  position: sticky;
  top: 0.75rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  border: 1px solid var(--jmb-border, #c8c0b6);
  border-radius: 0.75rem;
  background: var(--jmb-surface, #fff);
  padding: 0.35rem 0;
}
.jmb-product-main { min-width: 0; }
.jmb-product-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.jmb-product-nav-new { font-weight: 600; text-decoration: none; }
.jmb-product-nav-item {
  display: block;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  color: #2b2433 !important;
  border-left: 3px solid transparent;
  overflow-wrap: anywhere;
}
.jmb-product-nav-item:hover { background: rgba(0,0,0,0.04); }
.jmb-product-nav-item.is-on {
  background: #4a3d6b !important;
  color: #fff !important;
  border-left-color: #4a3d6b;
}
.jmb-product-nav-item.is-on .jmb-muted { color: #fff !important; opacity: 0.8; }
.jmb-product-nav-name { display: block; font-weight: 600; font-size: 0.88rem; }
@media (max-width: 800px) {
  .jmb-product-shell { grid-template-columns: 1fr; }
  .jmb-product-nav { position: static; max-height: 12rem; }
}
.jmb-desk .jmb-section .jmb-btn { margin-top: 0.35rem; }
.jmb-event { padding: 0.25rem 0; }

.jmb-order-line {
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--jmb-border, currentColor);
}

.jmb-import-log { white-space: pre-wrap; margin-top: 0.75rem; min-height: 2rem; }

.jmb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--jmb-border, currentColor);
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
