:root {
  --bg: #f4f1ea;
  --panel: #fffdf9;
  --text: #1b1b1b;
  --muted: #6b665f;
  --stroke: #d7d1c8;
  --accent: #111;
  --accent-inverse: #fff;
  --error: #b10e1e;
}
html {
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at 20% 0%, #fff, var(--bg));
  color: var(--text);
  font-family:
    Avenir Next,
    Segoe UI,
    sans-serif;
}
body[data-app-mode="contact"][data-embed-mode="1"] {
  background: transparent;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fffdf9f5;
  border-bottom: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 10px 18px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-hero-logo {
  width: min(92vw, 760px);
  max-height: 98px;
  object-fit: contain;
  display: block;
}
main {
  max-width: 1000px;
  margin: 24px auto;
  padding: 0 16px 40px;
}
body[data-app-mode="contact"][data-embed-mode="1"] .topbar {
  display: none;
}
body[data-app-mode="contact"][data-embed-mode="1"] main {
  max-width: none;
  margin: 0;
  padding: 0;
}
section {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px #0000000d;
  margin-bottom: 16px;
}
body[data-app-mode="contact"][data-embed-mode="1"] section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}
.checkout-heading {
  margin: 0 0 4px;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
body[data-app-mode="contact"] #clientDetails > h2 {
  margin-bottom: 14px;
}
h2,
h3 {
  margin-top: 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compact {
  margin-top: 8px;
}
label {
  font-size: 0.92rem;
}
input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 6px;
}
button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-inverse);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  opacity: 0.88;
}
#proceedBtnTop,
#proceedBtn,
#checkDateBtn,
#goBtn,
#barBuilderContinueBtn,
#toDocumentsBtn,
#submitMockPaymentBtn,
#submitCallbackBtn {
  background: #1f8f3a;
  border-color: #1f8f3a;
  color: #fff;
}
#proceedBtnTop:hover,
#proceedBtn:hover,
#checkDateBtn:hover,
#goBtn:hover,
#barBuilderContinueBtn:hover,
#toDocumentsBtn:hover,
#submitMockPaymentBtn:hover,
#submitCallbackBtn:hover {
  background: #177030;
  border-color: #177030;
  opacity: 1;
}
button.ghost {
  background: transparent;
  color: var(--accent);
}
.stack {
  display: grid;
  gap: 10px;
  max-width: 340px;
}
.results-preparation-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 14px;
  background: #f4f1eaeb;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.results-preparation-card {
  width: min(100%, 560px);
  text-align: center;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fffdf9;
  padding: 24px 20px;
  box-shadow: 0 14px 36px #00000014;
}
.results-preparation-card h3 {
  margin-bottom: 10px;
}
.results-preparation-message {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}
.results-preparation-overlay.error .results-preparation-card {
  border-color: #ebc5c8;
  background: #fff8f8;
}
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 8px;
}
.quote-clause {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f3ea;
  border: 1px solid var(--stroke);
  color: var(--muted);
}
.quote-clause.warning {
  margin-top: 8px;
}
.quote-intro {
  max-width: 680px;
  margin: 0 0 14px;
  color: #4b463f;
  font-size: 1.02rem;
  line-height: 1.5;
}
.quote-support-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.certainty-premium-note {
  margin-top: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(21, 20, 18, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf9 0%, #f6f0e6 100%);
  color: #27231f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.certainty-premium-note p {
  margin: 0 0 10px;
  max-width: 74ch;
  color: #302b26;
  font-size: 0.98rem;
  line-height: 1.58;
}
.certainty-premium-note p:last-child {
  margin-bottom: 0;
}
.certainty-premium-note strong {
  color: #17130f;
  font-size: 1.02rem;
}
.quote-clause.success {
  background: #eef8f0;
  border-color: #b8d8bf;
  color: #1d5a2c;
}
.quote-panel {
  margin-top: 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}
.restore-panel {
  margin-bottom: 16px;
}
.restore-panel label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 800;
}
.restore-panel input[type="file"] {
  width: 100%;
}
.quote-panel h3 {
  margin-top: 0;
}
.quote-panel p {
  margin: 6px 0;
}
.quote-total {
  font-weight: 700;
}
.quote-inbox-action {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
}
.quote-inbox-action.contact-widget-only {
  display: none;
}
body[data-app-mode="contact"] .quote-inbox-action.contact-widget-only:not(.hidden) {
  display: block;
}
.quote-inbox-action .quote-inbox-toggle {
  width: 100%;
  justify-content: center;
}
.quote-inbox-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.quote-inbox-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 10px;
}
.quote-inbox-form label {
  grid-column: 1 / -1;
  margin: 0;
}
.quote-inbox-status {
  margin-top: 10px;
}
.quote-upgrade {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-weight: 800;
  color: #1d3f26;
}
.quote-upgrade input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1f8f3a;
}
.quote-upgrade-count {
  margin: 0 0 10px 26px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3f9f4;
  border: 1px solid #c7e6d0;
  max-width: 360px;
}
.quote-upgrade-count-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1d3f26;
  margin-bottom: 6px;
}
.quote-upgrade-count-hint {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: #2d5b3a;
}
.package-mode-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d9c7a5;
  background: linear-gradient(135deg, #fff8ea, #f4ecdc);
  color: #5f4722;
}
.package-mode-banner strong {
  color: #3d2a08;
}
.package-mode-banner span {
  display: inline-block;
  margin-left: 4px;
}
.package-mode-banner button {
  white-space: nowrap;
}
.quote-date-checker {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
}
.quote-date-checker label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.quote-date-checker-status {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f3ea;
  border: 1px solid var(--stroke);
  color: var(--muted);
}
.quote-date-checker-status.available {
  background: #eef8f0;
  border-color: #b8ddc2;
  color: #1d5b2e;
}
.quote-date-checker-status.unavailable {
  background: #fff1f1;
  border-color: #ebc5c8;
  color: #9f2030;
}
.payment-mode-toggle {
  margin-top: 12px;
  margin-bottom: 0;
}
.faq-videos-panel {
  margin-top: 16px;
  padding-top: 8px;
}
.faq-videos-panel h3 {
  margin-bottom: 10px;
}
.faq-video-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.faq-video-card {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.faq-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.faq-video-load {
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.faq-video-load::before {
  content: "";
  width: 46px;
  height: 32px;
  border-radius: 11px;
  background: #1f1b17;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.faq-video-load::after {
  content: "";
  position: absolute;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translateX(2px);
}
.faq-video-load:hover::before,
.faq-video-load:focus-visible::before {
  background: var(--green);
}
.faq-video-missing {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  background: #ede8de;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.faq-video-title {
  margin: 0;
  padding: 9px 10px 10px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
}
.faq-video-empty {
  margin-top: 10px;
}
.cocktail-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.cocktail-grid-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cocktail-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-group-yellow {
  padding: 12px;
  border-radius: 14px;
  background: #fff9df;
  border: 1px solid #eadc88;
}
.tier-group-blue {
  padding: 12px;
  border-radius: 14px;
  background: #edf4ff;
  border: 1px solid #b7cdee;
}
.tier-group-green {
  padding: 12px;
  border-radius: 14px;
  background: #eef8ea;
  border: 1px solid #bfd7b6;
}
.cocktail-group-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}
.cocktail-group-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.selection-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  align-items: end;
}
.selection-toolbar-control {
  min-width: 240px;
}
.selection-toolbar-control label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.selection-counter {
  position: sticky;
  top: 128px;
  z-index: 4;
  width: fit-content;
  margin: 10px 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fffdf9f0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px #00000014;
  font-weight: 700;
}
.selection-recommendation-warning {
  margin-top: -2px;
}
.package-selection-notice {
  margin-top: 10px;
}
.selection-video-card {
  margin-top: 12px;
  width: min(100%, 360px);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.selection-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}
.selection-video-title {
  margin: 0;
  padding: 9px 10px 10px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.payment-video-card {
  width: 100%;
  max-width: 520px;
}
.bar-builder-heading {
  max-width: 760px;
  margin-bottom: 18px;
}
.bar-builder-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.bar-builder-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.bar-builder-kicker,
.bar-builder-eyebrow {
  margin: 0 0 4px;
  color: #4f4a43;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.bar-builder-size-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
}
.bar-builder-size-card h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
  line-height: 1.3;
}
.bar-unit-adjuster {
  display: grid;
  grid-template-columns: 44px minmax(128px, 190px) 44px;
  gap: 8px;
  align-items: stretch;
  width: fit-content;
  margin-top: 12px;
}
.bar-unit-adjuster > button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1;
}
.bar-unit-adjuster > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #faf8f4;
}
.bar-unit-adjuster span {
  font-size: 0.78rem;
  font-weight: 800;
}
.bar-unit-adjuster strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 1.45rem;
}
.bar-unit-adjuster small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.25;
}
.bar-unit-adjuster.fixed > div {
  border-color: #b9cdbf;
  background: #f1f8f2;
}
.bar-builder-step {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #171411;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}
.bar-builder-details {
  margin-top: 10px;
}
.bar-builder-details summary {
  width: fit-content;
  cursor: pointer;
  color: #28231f;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #b7afa5;
  text-underline-offset: 3px;
}
.bar-builder-details[open] summary {
  margin-bottom: 10px;
}
.bar-builder-details > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.bar-builder-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}
.bar-preview-sticky {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fff;
}
.bar-preview-heading,
.bar-preview-title {
  display: flex;
  align-items: center;
}
.bar-preview-heading {
  justify-content: space-between;
  gap: 12px;
}
.bar-preview-title {
  gap: 10px;
}
.bar-preview-title h3 {
  margin: 0;
  font-size: 1.12rem;
}
.bar-preview-scale {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #faf8f4;
  color: #514b44;
  font-size: 0.76rem;
  font-weight: 750;
}
.bar-preview-instruction,
.bar-builder-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.bar-builder-summary {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid #171411;
  background: #f7f4ee;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}
.bar-controls-simplified {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.bar-builder-choice-block,
.bar-builder-room-preview {
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fff;
}
.bar-builder-choice-block h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.bar-builder-choice-block .bar-builder-help {
  margin-bottom: 12px;
}
.bar-builder-optional {
  padding-top: 12px;
  border-top: 1px solid #e6e0d8;
}
.bar-builder-room-preview {
  margin-top: 0;
}
.bar-builder-room-preview > summary {
  font-size: 1rem;
  text-decoration: none;
}
.bar-builder-room-preview[open] > summary {
  margin-bottom: 8px;
}
.bar-builder-optional-control {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #faf8f4;
}
.bar-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.custom-upload-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.bar-control-group .bar-option-grid {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.bar-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.bar-front-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bar-top-option-grid,
.bar-layout-option-grid {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bar-option {
  position: relative;
  border: 2px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 9px;
  text-align: left;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.bar-option.active {
  border-color: #111;
  box-shadow: 0 0 0 3px #1111111c;
}
.bar-option:hover:not(:disabled) {
  opacity: 1;
  transform: translateY(-1px);
}
.bar-option:disabled,
.bar-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.bar-option-preview {
  height: 74px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 8px;
  background-position: center;
  background-size: cover;
}
.bar-option-preview.custom-upload-preview {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bar-option-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}
.bar-option-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.bar-option-check {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #171411;
  color: #fff;
  box-shadow: 0 2px 8px #0003;
  font-size: 0.8rem;
  font-weight: 900;
}
.bar-option.active .bar-option-check {
  display: grid;
}
.bar-builder-actions {
  justify-content: flex-end;
  margin-top: 18px;
}
.bar-builder-actions #barBuilderContinueBtn {
  min-width: 230px;
  padding: 12px 20px;
}
.layout-preview-straight {
  background: linear-gradient(180deg, #f9f7f2, #efeadf);
  position: relative;
}
.layout-preview-straight:after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 48%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1b1b1b, #383838);
}
.layout-preview-horseshoe {
  position: relative;
  background: linear-gradient(180deg, #f9f7f2, #efeadf);
}
.layout-preview-horseshoe::after {
  content: "";
  position: absolute;
  inset: 18px 18% 14px;
  border-right: 8px solid #2d2a27;
  border-bottom: 8px solid #2d2a27;
  border-left: 8px solid #2d2a27;
  border-radius: 0 0 3px 3px;
}
.layout-preview-island {
  position: relative;
  background: linear-gradient(180deg, #f9f7f2, #efeadf);
}
.layout-preview-island::before,
.layout-preview-island::after {
  content: "";
  position: absolute;
  inset: 13px 18%;
  border: 7px solid #2d2a27;
  clip-path: polygon(0 0, 40% 0, 40% 18%, 60% 18%, 60% 0, 100% 0, 100% 100%, 0 100%);
}
.layout-preview-island::after {
  inset: 30px 38%;
  border: 0;
  border-radius: 2px;
  background: #7b5b38;
}
.bar-backbar-addon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 2px solid var(--stroke);
  border-radius: 12px;
  background: #faf8f4;
  cursor: pointer;
}
.bar-backbar-addon:has(input:checked) {
  border-color: #171411;
  box-shadow: 0 0 0 3px #11111112;
}
.bar-backbar-addon input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #20913f;
  flex: 0 0 auto;
}
.bar-backbar-addon span {
  display: grid;
  gap: 2px;
}
.bar-backbar-addon strong {
  font-size: 0.94rem;
  line-height: 1.25;
}
.bar-backbar-addon small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.led-colour-grid {
  margin-bottom: 6px;
}
.led-colour-option {
  border: 2px solid var(--stroke);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 6px 8px;
  text-align: left;
}
.led-colour-option.active {
  border-color: #111;
  box-shadow: 0 0 0 4px #11111129;
}
.led-colour-swatch {
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  margin-bottom: 6px;
}
.led-colour-label {
  font-size: 0.82rem;
  font-weight: 700;
}
.bar-preview-wrap {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96), rgba(248, 242, 232, 0.92) 52%, rgba(229, 220, 205, 0.9) 100%);
  width: 100%;
  padding: 34px 18px 18px;
  min-height: 314px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow-x: auto;
  position: relative;
  transition:
    background 0.22s ease,
    padding 0.22s ease;
}
.bar-preview-wrap::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(68, 50, 31, 0.18) 0%, rgba(68, 50, 31, 0.08) 42%, rgba(68, 50, 31, 0) 78%);
  filter: blur(10px);
  pointer-events: none;
}
.bar-preview-wrap.scene-active {
  padding: 38px 18px 18px;
  min-height: 330px;
}
.bar-preview-wrap.scene-active[data-scene="tipi-marquee"] {
  background:
    linear-gradient(180deg, #ffffff1f, #16100a33),
    url(../bar-scenes/Tipi\ Marquee.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bar-preview-wrap.scene-active[data-scene="typical-marquee"] {
  background:
    linear-gradient(180deg, #ffffff2e, #1a140c38),
    url(../bar-scenes/Typical\ Marquee.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bar-preview-wrap.scene-active[data-scene="empty-trade-hall"] {
  background:
    linear-gradient(180deg, #ffffff24, #10141e3d),
    url("../bar-scenes/Empty Trade Hall.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bar-preview-wrap.scene-active[data-scene="garden"] {
  background:
    linear-gradient(180deg, #ffffff1f, #0a160a33), url(../bar-scenes/Garden.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bar-preview-wrap.scene-active[data-scene="ballroom"] {
  background:
    linear-gradient(180deg, #ffffff1f, #1a0c1c38), url(../bar-scenes/Ballroom.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bar-preview {
  min-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.bar-preview.horseshoe {
  min-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.bar-horseshoe-shell {
  --return-w: var(--bar-half-unit-w, 54px);
  --corner-w: var(--bar-corner-w, 96px);
  display: grid;
  grid-template-columns: var(--return-w) var(--corner-w) auto var(
      --corner-w
    ) var(--return-w);
  grid-template-rows: auto auto;
  grid-template-areas: "left-return . service . right-return" ". left-corner front right-corner .";
  align-items: end;
  justify-items: center;
  row-gap: 0;
  column-gap: 0;
}
.bar-horseshoe-front-run {
  grid-area: front;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bar-horseshoe-corner {
  width: var(--corner-w);
  min-width: var(--corner-w);
  display: flex;
  flex-direction: column;
  align-self: end;
}
.bar-horseshoe-corner.left {
  grid-area: left-corner;
  margin-right: -1px;
}
.bar-horseshoe-corner.right {
  grid-area: right-corner;
  margin-left: -1px;
}
.bar-corner-top {
  height: var(--bar-unit-top-h, 18px);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-bottom-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
.bar-corner-front {
  height: var(--bar-unit-front-h, 146px);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-top-width: 0;
  background-color: rgba(246, 241, 233, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -18px 24px rgba(0, 0, 0, 0.06);
}
.bar-horseshoe-corner.left .bar-corner-top {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
}
.bar-horseshoe-corner.left .bar-corner-front {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%);
}
.bar-horseshoe-corner.right .bar-corner-top {
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.bar-horseshoe-corner.right .bar-corner-front {
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}
.bar-horseshoe-return {
  grid-row: 1;
  display: flex;
  align-items: flex-start;
}
.bar-horseshoe-return.left {
  grid-area: left-return;
  justify-content: flex-end;
}
.bar-horseshoe-return.right {
  grid-area: right-return;
  justify-content: flex-start;
}
.bar-horseshoe-return.left .bar-unit.side {
  transform: translateX(10px) perspective(420px) rotateY(48deg) scale(0.98);
  transform-origin: right bottom;
}
.bar-horseshoe-return.right .bar-unit.side {
  transform: translateX(-10px) perspective(420px) rotateY(-48deg) scale(0.98);
  transform-origin: left bottom;
}
.bar-horseshoe-service-gap {
  grid-area: service;
  min-width: clamp(124px, 24vw, 308px);
  min-height: 80px;
  border-top: 2px dashed rgba(46, 36, 25, 0.28);
  border-radius: 0 0 14px 14px;
  margin-top: 4px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.bar-horseshoe-service-label {
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #362b1fad;
}
.bar-unit {
  width: var(--bar-unit-w, 180px);
  min-width: var(--bar-unit-w, 180px);
  filter: drop-shadow(0 10px 14px rgba(51, 37, 24, 0.15));
}
.bar-unit.side {
  width: var(--bar-unit-w, 180px);
  min-width: var(--bar-unit-w, 180px);
}
.bar-unit.half,
.bar-unit.side.half {
  width: var(--bar-half-unit-w, 60px);
  min-width: var(--bar-half-unit-w, 60px);
}
.bar-unit-top {
  height: var(--bar-unit-top-h, 18px);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-bottom-width: 0;
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
.bar-unit-front {
  height: var(--bar-unit-front-h, 146px);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-top-width: 0;
  background-color: rgba(246, 241, 233, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -18px 24px rgba(0, 0, 0, 0.06);
}
.bar-preview .bar-unit + .bar-unit .bar-unit-top,
.bar-preview .bar-unit + .bar-unit .bar-unit-front {
  border-left-width: 0;
}
.bar-horseshoe-front-run .bar-unit + .bar-unit .bar-unit-top,
.bar-horseshoe-front-run .bar-unit + .bar-unit .bar-unit-front {
  border-left-width: 0;
}
.bar-geometry-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.72fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}
.bar-geometry-copy {
  display: grid;
  gap: 3px;
}
.bar-geometry-copy > span,
.bar-geometry-plan > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bar-geometry-copy > strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.15;
}
.bar-geometry-copy > small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}
.bar-geometry-plan {
  min-width: 0;
  text-align: center;
}
.bar-geometry-plan svg {
  display: block;
  width: 100%;
  height: 106px;
  margin-bottom: 5px;
  overflow: visible;
}
.bar-plan-run {
  fill: none;
  stroke: var(--bar-plan-colour, #766b5d);
  stroke-width: 0.54;
  stroke-linecap: butt;
  stroke-linejoin: bevel;
}
.bar-plan-corner {
  fill: none;
  stroke: #c68828;
  stroke-width: 0.62;
  stroke-linecap: butt;
}
.bar-plan-join {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.055;
}
.bar-plan-angle {
  fill: #17130f;
  font-size: 0.25px;
  font-weight: 800;
  text-anchor: middle;
}
.bar-plan-backbar {
  fill: #26221e;
  stroke: #c68828;
  stroke-width: 0.08;
}
.bar-plan-entrance {
  fill: #17130f;
  font-size: 0.2px;
  font-weight: 800;
  text-anchor: middle;
}
.bar-preview.island {
  min-width: 100%;
  min-height: 280px;
  align-items: center;
}
.bar-preview.perspective {
  width: 100%;
  min-width: 100%;
  min-height: 0;
  display: block;
}
.bar-perspective-render {
  display: block;
  width: 100%;
  aspect-ratio: 1.56 / 1;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 78%;
  filter: saturate(0.98) contrast(1.02);
}
.bar-perspective-render.bar-island-photo {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #efe8dc;
}
.bar-perspective-loading {
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bar-island-shell {
  position: relative;
  width: calc(
    var(--bar-unit-w, 180px) * 3 + var(--bar-island-corner-projection, 85px) * 2
  );
  min-width: 220px;
  height: calc(
    var(--bar-unit-w, 180px) + var(--bar-half-unit-w, 60px) +
      var(--bar-island-corner-projection, 85px) * 2
  );
  min-height: 170px;
  margin: 20px auto 0;
}
.bar-island-front-run,
.bar-island-rear-run,
.bar-island-side {
  position: absolute;
  display: flex;
  align-items: flex-end;
}
.bar-island-front-run {
  left: 50%;
  bottom: 0;
  z-index: 6;
  transform: translateX(-50%);
}
.bar-island-rear-run {
  left: 50%;
  top: 0;
  z-index: 5;
  gap: 0;
  transform: translateX(-50%);
}
.bar-island-side {
  top: 50%;
  z-index: 4;
  transform-origin: center center;
}
.bar-island-side.left {
  left: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.bar-island-side.right {
  right: 0;
  transform: translate(50%, -50%) rotate(90deg);
}
.bar-island-shell .bar-unit-top,
.bar-island-corner-top {
  height: var(--bar-island-top-depth, 22px);
}
.bar-island-shell .bar-unit-front,
.bar-island-corner-front {
  height: var(--bar-island-front-depth, 12px);
}
.bar-island-rear-gap {
  display: block;
  width: var(--bar-half-unit-w, 60px);
  min-width: var(--bar-half-unit-w, 60px);
  height: var(--bar-island-depth, 34px);
  border: 2px dashed rgba(46, 36, 25, 0.3);
  border-top: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.34);
}
.bar-island-corner {
  position: absolute;
  z-index: 5;
  width: var(--bar-island-corner-w, 120px);
  min-width: var(--bar-island-corner-w, 120px);
  filter: drop-shadow(0 8px 10px rgba(51, 37, 24, 0.13));
}
.bar-island-corner.rear-left {
  top: calc(var(--bar-island-corner-projection, 85px) / 2);
  left: calc(var(--bar-island-corner-projection, 85px) / 2);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.bar-island-corner.rear-right {
  top: calc(var(--bar-island-corner-projection, 85px) / 2);
  right: calc(var(--bar-island-corner-projection, 85px) / 2);
  transform: translate(50%, -50%) rotate(45deg);
}
.bar-island-corner.front-left {
  bottom: calc(var(--bar-island-corner-projection, 85px) / 2);
  left: calc(var(--bar-island-corner-projection, 85px) / 2);
  transform: translate(-50%, 50%) rotate(45deg);
}
.bar-island-corner.front-right {
  right: calc(var(--bar-island-corner-projection, 85px) / 2);
  bottom: calc(var(--bar-island-corner-projection, 85px) / 2);
  transform: translate(50%, 50%) rotate(-45deg);
}
.bar-island-backbar {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 16px;
  width: min(38%, 180px);
  height: 118px;
  padding: 15px 12px 9px;
  border: 4px solid #28231f;
  border-bottom-width: 10px;
  border-radius: 5px 5px 2px 2px;
  background: rgba(252, 249, 244, 0.92);
  box-shadow: 0 12px 24px rgba(39, 28, 18, 0.18);
  transform: translate(-50%, -50%);
}
.bar-island-shelf {
  display: block;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(180deg, #9a6c3e, #51341e);
}
.bar-island-backbar strong {
  align-self: end;
  color: #332a22;
  font-size: 0.66rem;
  text-align: center;
}
.bar-island-entrance {
  position: absolute;
  left: 50%;
  top: calc(var(--bar-island-depth, 34px) + 7px);
  z-index: 7;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #3e352d;
  font-size: 0.62rem;
  font-weight: 800;
  transform: translateX(-50%);
}
.scene-option-grid {
  margin-top: 6px;
  margin-bottom: 6px;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
}
.scene-option-preview {
  height: 42px;
  background-size: cover;
  background-position: center;
}
.scene-preview-none {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
}
.scene-preview-tipi-marquee {
  background-image: url(../bar-scenes/Tipi\ Marquee.webp);
}
.scene-preview-typical-marquee {
  background-image: url(../bar-scenes/Typical\ Marquee.jpeg);
}
.scene-preview-empty-trade-hall {
  background-image: url("../bar-scenes/Empty Trade Hall.jpg");
}
.scene-preview-garden {
  background-image: url(../bar-scenes/Garden.jpeg);
}
.scene-preview-ballroom {
  background-image: url(../bar-scenes/Ballroom.jpeg);
}
.front-white-chesterfield {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(210, 210, 210, 0.12)),
    url(../bar-panels/preview/white-chesterfield-front.webp);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.front-black-chesterfield {
  background-image:
    linear-gradient(180deg, #ffffff14, #00000057),
    url(../bar-panels/preview/black-chesterfield-front.webp);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.front-rustic-wood {
  background-image:
    linear-gradient(180deg, #ffffff1f, #0000001f),
    url(../bar-panels/preview/rustic-wood-front.webp);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.front-mirror-brick {
  background-image:
    linear-gradient(180deg, #ffffff0a, #0000001f),
    url(../bar-panels/preview/mirror-brick-front.webp);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.front-mirror-brick-black {
  background-image:
    linear-gradient(180deg, #ffffff0a, #00000038),
    url(../bar-panels/black-brick-tile.png);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.front-led-panel {
  --led-start: #15658f;
  --led-end: #1cb5e9;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.35),
      transparent 40%
    ),
    radial-gradient(
      circle at 78% 68%,
      rgba(255, 255, 255, 0.16),
      transparent 45%
    ),
    linear-gradient(128deg, var(--led-start), var(--led-end)),
    url(../bar-panels/preview/led-panel-white.webp);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center, center, center, center;
  background-blend-mode: screen, screen, multiply, normal;
}
.front-fake-foliage {
  background-image:
    linear-gradient(180deg, #ffffff14, #0000001a),
    url(../bar-panels/preview/fake-foliage-front.webp);
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.top-white {
  background: linear-gradient(180deg, #ffffff, #d5d5d5);
}
.top-black {
  background: linear-gradient(180deg, #3a3a3a, #0d0d0d);
}
.top-rustic-wood {
  background-image:
    linear-gradient(180deg, #ffffff2e, #00000038),
    url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='420'%20height='18'%20viewBox='0%200%20420%2018'%20preserveAspectRatio='none'%3e%3cdefs%3e%3clinearGradient%20id='base'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%238a5a34'/%3e%3cstop%20offset='1'%20stop-color='%235d3921'/%3e%3c/linearGradient%3e%3cfilter%20id='grain'%20x='-10%25'%20y='-30%25'%20width='120%25'%20height='160%25'%3e%3cfeTurbulence%20type='fractalNoise'%20baseFrequency='1.9'%20numOctaves='1'%20seed='33'%20result='n'/%3e%3cfeColorMatrix%20in='n'%20type='saturate'%20values='0'/%3e%3c/filter%3e%3c/defs%3e%3crect%20width='420'%20height='18'%20fill='url(%23base)'/%3e%3crect%20x='0'%20y='2'%20width='420'%20height='1'%20fill='%23c08952'%20opacity='0.25'/%3e%3crect%20x='0'%20y='5'%20width='420'%20height='1'%20fill='%234f2e19'%20opacity='0.28'/%3e%3crect%20x='0'%20y='8'%20width='420'%20height='1'%20fill='%23be8851'%20opacity='0.22'/%3e%3crect%20x='0'%20y='11'%20width='420'%20height='1'%20fill='%234a2b18'%20opacity='0.24'/%3e%3crect%20x='0'%20y='14'%20width='420'%20height='1'%20fill='%23c79257'%20opacity='0.2'/%3e%3crect%20width='420'%20height='18'%20filter='url(%23grain)'%20opacity='0.09'/%3e%3c/svg%3e");
  background-size:
    100% 100%,
    420px 18px;
  background-repeat: no-repeat, repeat-x;
  background-position:
    center,
    var(--texture-offset-x, 0px) center;
}
.top-mirror {
  background: linear-gradient(
    115deg,
    #fdfdfd,
    #d9d9d9 20%,
    #fff 42%,
    #bfbfbf 70%,
    #f6f6f6
  );
}
.top-polished-concrete {
  background:
    radial-gradient(
      circle at 22% 35%,
      rgba(255, 255, 255, 0.2) 0 8%,
      transparent 9%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(0, 0, 0, 0.16) 0 6%,
      transparent 7%
    ),
    linear-gradient(180deg, #c6c8ca, #8f9498);
}
.cocktail-card {
  position: relative;
  display: block;
  border: 2px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.cocktail-card:hover {
  transform: translateY(-1px);
}
.cocktail-card.selected {
  border-color: #b20000;
  background: #fff5f5;
  box-shadow:
    0 0 0 8px #d81c1c7a,
    0 12px 28px #00000024;
}
.cocktail-card.disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}
.cocktail-card.disabled:hover {
  transform: none;
}
.cocktail-card.tier-yellow {
  border-color: #d7c55c;
  background: #fffbea;
}
.cocktail-card.tier-blue {
  border-color: #7da0dc;
  background: #f3f7ff;
}
.cocktail-card.tier-green {
  border-color: #88b67d;
  background: #f3fbf0;
}
.cocktail-card.selected.tier-yellow {
  box-shadow:
    0 0 0 8px #d81c1c7a,
    0 12px 28px #00000024;
}
.cocktail-card.selected.tier-blue {
  box-shadow:
    0 0 0 8px #d81c1c7a,
    0 12px 28px #00000024;
}
.cocktail-card.selected.tier-green {
  box-shadow:
    0 0 0 8px #d81c1c7a,
    0 12px 28px #00000024;
}
.cocktail-card input[type="checkbox"] {
  display: none;
}
.cocktail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #ece6db, #d9d0c1);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-line;
  color: #554f45;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  padding: 8px;
}
.cocktail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cocktail-content {
  padding: 10px 12px 12px;
}
.cocktail-card-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.cocktail-card-head h4 {
  margin: 0;
  font-size: 1rem;
}
.cocktail-content h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.cocktail-tier-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cocktail-tier-badge.tier-yellow {
  background: #f8efba;
  color: #775d00;
}
.cocktail-tier-badge.tier-blue {
  background: #dfe9ff;
  color: #23488c;
}
.cocktail-tier-badge.tier-green {
  background: #deefdb;
  color: #2a6032;
}
.cocktail-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}
.cocktail-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
}
.hidden {
  display: none;
}
.error {
  color: var(--error);
  display: none;
}
.error.visible {
  display: block;
}
dialog {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  width: min(720px, 92vw);
  padding: 18px;
}
#settingsForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.settings-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
  align-items: center;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.library-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}
.library-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.library-list {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  background: #fff;
}
.library-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--stroke);
  padding: 8px 4px;
}
.library-item:last-child {
  border-bottom: 0;
}
.editor-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  align-items: start;
}
.ingredient-labels-form {
  max-height: 55vh;
  overflow: auto;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.ingredient-label-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--stroke);
}
.ingredient-label-row:last-child {
  border-bottom: 0;
}
textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  resize: vertical;
}
@media (min-width: 900px) {
  .bar-builder-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
  .bar-preview-sticky {
    position: sticky;
    top: 128px;
    z-index: 4;
  }
  .bar-front-option-grid .bar-option-preview {
    height: 82px;
  }
}
@media (min-width: 1024px) {
  .cocktail-grid-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  main {
    margin: 10px auto;
    padding: 0 10px 24px;
  }
  section {
    padding: 12px;
    border-radius: 12px;
  }
  .checkout-heading {
    font-size: 1.72rem;
    margin-bottom: 2px;
  }
  #clientDetails > h2 {
    margin-bottom: 8px;
  }
  .quote-intro {
    margin-bottom: 10px;
    font-size: 0.96rem;
    line-height: 1.38;
  }
  input[type="text"],
  input[type="date"],
  input[type="time"],
  input[type="number"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .inline-actions {
    flex-direction: column;
  }
  .inline-actions button {
    width: 100%;
  }
  .cocktail-grid-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .cocktail-card {
    border-radius: 10px;
    min-width: 0;
  }
  .cocktail-image {
    aspect-ratio: 1 / 0.82;
  }
  .cocktail-content {
    padding: 7px 8px 9px;
  }
  .cocktail-card-head {
    gap: 5px;
    margin-bottom: 3px;
  }
  .cocktail-card-head h4,
  .cocktail-content h4 {
    font-size: 0.84rem;
    line-height: 1.15;
  }
  .cocktail-content p {
    font-size: 0.72rem;
    line-height: 1.22;
  }
  .cocktail-meta {
    font-size: 0.68rem;
  }
  .cocktail-tier-badge {
    font-size: 0.64rem;
    padding: 3px 6px;
  }
  .cocktail-group-title {
    font-size: 0.92rem;
  }
  .cocktail-group-summary {
    font-size: 0.76rem;
  }
  .selection-toolbar {
    gap: 10px;
  }
  .selection-toolbar-control {
    min-width: 0;
  }
  .bar-control-columns {
    grid-template-columns: 1fr;
  }
  .bar-option-grid,
  .bar-control-group .bar-option-grid,
  .scene-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bar-option {
    padding: 8px;
  }
  .bar-option-label {
    font-size: 0.82rem;
    line-height: 1.1;
  }
  .bar-preview-wrap {
    padding: 24px 10px 14px;
    min-height: 276px;
  }
  .bar-preview-wrap.scene-active {
    padding: 28px 10px 14px;
    min-height: 292px;
  }
  .bar-preview:not(.horseshoe) {
    min-width: 100%;
    width: 100%;
  }
  .bar-preview.horseshoe {
    min-width: max-content;
    width: max-content;
  }
  .bar-preview.horseshoe.perspective {
    min-width: 100%;
    width: 100%;
  }
  .bar-horseshoe-shell {
    --return-w: clamp(68px, 21vw, 84px);
    --corner-w: clamp(58px, 19vw, 78px);
  }
  .bar-horseshoe-service-gap {
    min-width: clamp(92px, 18vw, 140px);
    min-height: 64px;
  }
  .bar-geometry-summary {
    grid-template-columns: 1fr;
  }
  .bar-geometry-plan svg {
    height: 118px;
  }
  .bar-unit {
    width: var(--bar-unit-w, 86px);
    min-width: var(--bar-unit-w, 86px);
  }
  .bar-unit.side {
    width: var(--bar-unit-w, 86px);
    min-width: var(--bar-unit-w, 86px);
  }
  .selection-counter,
  .bar-preview-sticky {
    top: 92px;
  }
  .bar-preview-sticky {
    position: static;
  }
  .bar-builder-size-card,
  .bar-preview-sticky,
  .bar-builder-choice-block,
  .bar-builder-room-preview {
    padding: 12px;
  }
  .bar-builder-heading {
    margin-bottom: 14px;
  }
  .bar-builder-heading h2 {
    font-size: 1.72rem;
  }
  .bar-builder-actions {
    align-items: stretch;
  }
  .bar-builder-actions #barBuilderContinueBtn {
    min-width: 0;
  }
  .selection-toolbar-control {
    width: 100%;
  }
  .package-mode-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar {
    padding: 6px 10px;
  }
  .brand-hero-logo {
    width: min(78vw, 420px);
    max-height: 54px;
  }
  .settings-row,
  .library-layout,
  .editor-grid,
  .ingredient-label-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .faq-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .faq-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .faq-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .bar-option-grid,
  .bar-control-group .bar-option-grid,
  .scene-option-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-video-grid {
    grid-template-columns: 1fr;
  }
}
