/* Targeted improvements to the existing DKISS purchase and inquiry flows. */
.swatches { gap: 10px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px;
  width: auto; height: auto; min-height: 44px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 6px;
  outline: none; color: var(--ink); background: transparent; font-size: .85rem;
}
.swatch::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: var(--flavor); border: 1px solid #12353240; }
.swatch.selected { outline: none; border: 2px solid var(--green); padding: 8px 11px; background: var(--mint); }
.swatch:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.qty button { min-width: 44px; min-height: 44px; }
.mix-jump { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 16px; border-radius: 4px; background: #f4d8ed; color: #38152e; font-weight: 600; text-decoration: none; }
.mix-workspace { scroll-margin-top: 24px; }
.mix-starters { padding-top: 16px; padding-bottom: 16px; }
.mix-starters-heading { margin-bottom: 0; align-items: center; }
.mix-starters-heading h2 { font-size: 1.1rem; }
.mix-starters > summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-weight: 600; font-size: 1rem; }
.mix-starters[open] > summary { margin-bottom: 12px; }
.mix-help { display: inline-flex; min-height: 44px; align-items: center; color: var(--green); text-underline-offset: 4px; font-size: .88rem; }
.mix-flavor-count { min-height: 1.5em; }
.mix-stepper { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 4px; align-items: center; margin: 0 12px 14px; }
.mix-stepper button { min-width: 44px; min-height: 44px; border: 1px solid var(--green); border-radius: 4px; color: var(--green); background: transparent; font-size: 1.25rem; }
.mix-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.mix-stepper button:hover:not(:disabled) { color: var(--paper); background: var(--green); }
.mix-stepper output { text-align: center; font-size: .85rem; font-weight: 600; color: var(--ink); }
.mix-tray, .mix-tray[data-mix-count="3"] { display: flex; flex-direction: column; gap: 8px; }
.mix-slot, .mix-slot.empty, .mix-slot.filled {
  display: grid; grid-template-columns: 34px minmax(0,1fr) 44px;
  align-items: center; gap: 12px; min-height: 58px; padding: 6px 10px;
  border-radius: 5px; background: transparent;
}
.mix-slot.empty { grid-template-columns: 34px minmax(0,1fr); text-align: left; gap: 12px; }
.mix-slot img.flavor-device { position: static; width: 28px; height: 48px; padding: 0; object-fit: contain; filter: none; transform: rotate(9deg); }
.mix-slot img.flavor-burst { display: none; }
.mix-slot-label { position: static; text-align: left; font-size: .85rem; line-height: 1.4; overflow-wrap: normal; }
.mix-slot.empty .mix-slot-label br { display: none; }
.mix-slot .mix-remove { position: static; grid-column: 3; grid-row: 1; min-width: 44px; min-height: 44px; background: transparent; }
.mix-slot .mix-slot-label { grid-column: 2; grid-row: 1; }
.mix-picker-heading .mix-help { flex-basis: 100%; }
#toast { max-width: 400px; border-radius: 8px; padding: 16px 20px; }
#toast p { margin: 0; font-size: .95rem; line-height: 1.45; }
#toast .toast-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
#toast a, #toast button { display: inline-flex; align-items: center; min-height: 44px; color: white; font-weight: 600; }
#toast button { padding: 0 8px; background: transparent; border: 0; font-size: .85rem; }
#toast a { text-underline-offset: 4px; }
#toast :focus-visible { outline: 2px solid white; outline-offset: 3px; }
.inquiry-optional-details { grid-column: 1 / -1; margin: 4px 0 0; border-top: 1px solid var(--line); }
.inquiry-optional-details > summary { min-height: 44px; padding: 14px 0; cursor: pointer; color: var(--green); font-weight: 600; }
.inquiry-optional-details[open] > summary { margin-bottom: 12px; }
.inquiry-emails { font-size: .9rem; line-height: 1.7; }
.inquiry-emails a { color: var(--green); text-underline-offset: 4px; }
.selection-context { margin: 0 0 24px; padding: 16px; background: var(--mint); border-radius: 6px; font-size: .9rem; line-height: 1.5; }
.selection-context p { margin: 0; }
.selection-context a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); }
@media (max-width: 699px) {
  .mix-intro.mix-intro-visual { padding-top: 24px; padding-bottom: 24px; }
  .mix-intro-art { height: 150px; margin-top: 0; margin-bottom: 8px; }
  .mix-intro-visual .mix-size-option { min-height: 140px; gap: 6px; }
  .mix-intro-visual h1 { font-size: 2.6rem; }
  .mix-intro-visual .mix-size-selector > p { margin-bottom: 0; }
  .mix-workspace { padding-top: 28px; }
  .mix-picker-heading { margin-bottom: 16px; gap: 6px; }
  .mix-picker-heading p { font-size: .85rem; }
  .mix-flavor-info h3 { font-size: 1rem; }
  .mix-flavor-info { padding-bottom: 10px; }
  .mix-flavor-count { font-size: .8rem; }
  #toast { top: auto; bottom: 20px; left: 16px; right: 16px; max-width: none; }
  body.has-purchase-dock #toast { bottom: 108px; }
}

.cookie [hidden] { display: none !important; }
