html.ss-tray-open { overflow: hidden; }
.ss-tray {
  --tray-ink: #30251b;
  --tray-muted: #66584c;
  --tray-rule: #deceb7;
  --tray-paper: #fffaf0;
  --tray-gold: #fdb92e;
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 510px);
  height: 100%;
  height: 100dvh;
  max-width: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--tray-rule);
  border-radius: 0;
  background: var(--tray-paper);
  color: var(--tray-ink);
  font-family: var(--sans, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: -10px 0 48px #231b182c;
}
.ss-tray::backdrop { background: #241c17a8; }
.ss-tray *, .ss-tray *::before, .ss-tray *::after { box-sizing: border-box; }
.ss-tray [hidden] { display: none !important; }
.ss-tray .ss-tray-shell { display: flex; flex-direction: column; height: 100%; }
.ss-tray .ss-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 5vw, 32px) 15px;
  border-bottom: 1px solid var(--tray-rule);
}
.ss-tray h2 {
  margin: 0;
  color: var(--tray-ink);
  font: 400 clamp(35px, 7vw, 45px)/1.12 var(--serif, Georgia, serif);
  letter-spacing: -.035em;
}
.ss-tray h2:focus { outline: none; }
.ss-tray button, .ss-tray select, .ss-tray input {
  color: var(--tray-ink);
  font-family: inherit;
  font-size: inherit;
  line-height: 1.3;
}
.ss-tray button { cursor: pointer; }
.ss-tray .ss-tray-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tray-rule);
  border-radius: 50%;
  background: transparent;
  font-size: 27px;
  font-weight: 300;
}
.ss-tray .ss-tray-close:hover { background: #f8edd8; }
.ss-tray .ss-tray-body {
  min-height: 0;
  flex: 1 1 auto;
  padding: 19px clamp(18px, 5vw, 32px) 26px;
  overflow: auto;
  overscroll-behavior: contain;
}
.ss-tray .ss-tray-mode { padding: 0; margin: 0; min-width: 0; border: 0; }
.ss-tray .ss-tray-mode legend, .ss-tray .ss-tray-fulfilment label, .ss-tray .ss-tray-quick form > label {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
}
.ss-tray .ss-tray-mode > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--tray-rule);
  border-radius: 8px;
  background: #f4ead7;
}
.ss-tray .ss-tray-mode label {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}
.ss-tray .ss-tray-mode input {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
}
.ss-tray .ss-tray-mode label:has(:checked) { background: var(--tray-ink); color: #fffaf0; }
.ss-tray :focus-visible, .ss-tray .ss-tray-mode label:has(:focus-visible) { outline: 2px solid #945813; outline-offset: 3px; }
.ss-tray p.ss-tray-intro { margin: 12px 0 16px; color: var(--tray-muted); font-size: 14px; }
.ss-tray p.ss-tray-sample-count { margin: 0 0 6px; color: #66513a; font-size: 12px; }
.ss-tray .ss-tray-list { padding: 0; margin: 0; list-style: none; }
.ss-tray .ss-tray-item { padding: 15px 0; border-top: 1px solid var(--tray-rule); }
.ss-tray .ss-tray-item-head { display: flex; align-items: flex-start; gap: 10px; }
.ss-tray .ss-tray-item-choice { display: flex; flex: 1; align-items: flex-start; gap: 10px; min-width: 0; cursor: pointer; }
.ss-tray .ss-tray-item-name { min-width: 0; flex: 1; }
.ss-tray .ss-tray-item-name strong { display: block; font: 600 23px/1.12 var(--serif, Georgia, serif); }
.ss-tray .ss-tray-code { display: block; margin: 0 0 3px; color: var(--tray-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ss-tray .ss-tray-reference { display: block; margin: 4px 0 0; color: #514234; font-size: 13px; line-height: 1.45; }
.ss-tray .ss-tray-check { width: 20px; height: 20px; flex: none; margin: 3px 0 0; accent-color: var(--tray-ink); }
.ss-tray .ss-tray-remove {
  flex: none;
  padding: 6px 0 6px 7px;
  border: 0;
  background: transparent;
  color: #654e37;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ss-tray .ss-tray-quantities { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ss-tray .ss-tray-field { display: flex; flex-direction: column; gap: 4px; }
.ss-tray .ss-tray-field > span, .ss-tray .ss-tray-line-price { color: var(--tray-muted); font-size: 12px; }
.ss-tray .ss-tray-field input { width: 70px; }
.ss-tray .ss-tray-field input[data-custom-weight] { width: 104px; }
.ss-tray input[type=number], .ss-tray input[type=text], .ss-tray select {
  min-height: 38px;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #ac9b82;
  border-radius: 5px;
  background: #fffdf8;
}
.ss-tray .ss-tray-empty { padding: 13px 0 22px; border-top: 1px solid var(--tray-rule); }
.ss-tray .ss-tray-empty p { margin: 0 0 9px; }
.ss-tray .ss-tray-browse { padding: 4px 0; color: var(--tray-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.ss-tray .ss-tray-more { display: inline-block; margin: 1px 0 15px; font-size: 13px; }
.ss-tray .ss-tray-quick { margin: 0; border-block: 1px solid var(--tray-rule); }
.ss-tray .ss-tray-quick summary { padding: 12px 0; color: var(--tray-ink); cursor: pointer; font-weight: 650; }
.ss-tray .ss-tray-quick form { padding: 0 0 15px; margin: 0; }
.ss-tray .ss-tray-quick form > div { display: flex; gap: 6px; }
.ss-tray .ss-tray-quick form input { width: 100%; min-width: 0; }
.ss-tray .ss-tray-quick form button { flex: none; padding: 6px 11px; border: 1px solid #bbaa8b; border-radius: 5px; background: #f5e8cc; font-weight: 600; }
.ss-tray .ss-tray-code-feedback { margin: 6px 0 0; color: var(--tray-muted); font-size: 12px; }
.ss-tray .ss-tray-code-feedback:empty { display: none; }
.ss-tray .ss-tray-fulfilment { margin: 18px 0 0; }
.ss-tray .ss-tray-fulfilment select, .ss-tray .ss-tray-shipping input { width: 100%; }
.ss-tray .ss-tray-shipping {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 10px;
  margin-top: 12px;
}
.ss-tray .ss-tray-foot {
  flex: none;
  padding: 12px clamp(18px, 5vw, 32px) max(15px, env(safe-area-inset-bottom));
  background: var(--tray-paper);
  border-top: 1px solid var(--tray-rule);
}
.ss-tray .ss-tray-foot p { margin: 0 0 9px; color: var(--tray-muted); font-size: 12px; }
.ss-tray .ss-tray-send {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid #d49618;
  border-radius: 24px;
  background: var(--tray-gold);
  color: #281a0d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.ss-tray .ss-tray-send[href]:hover { background: #ffc54b; }
.ss-tray .ss-tray-send[aria-disabled=true] { background: #e9dfcd; border-color: #d2c5b0; color: #685d4b; }
.ss-tray-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
@media (max-width: 600px) {
  .ss-tray input[type=text], .ss-tray input[type=number], .ss-tray select { font-size: 16px; }
}
@media print { #ss-shortlist-dialog, .ss-tray-sr { display: none !important; } }
