/* --------------------------------
   1. Design Tokens
-------------------------------- */

:root {
  --lb-accent: #d06c7e;
  --lb-accent-hover: #b95b6d;
  --lb-accent-soft: color-mix(in srgb, var(--lb-accent) 12%, transparent);

  --lb-page-bg: #fcfbfc;
  --lb-page-atmosphere:
    radial-gradient(at 12% 0%, rgba(226, 222, 229, 0.12) 0, transparent 52%),
    radial-gradient(at 50% 0%, rgba(232, 221, 238, 0.10) 0, transparent 50%),
    radial-gradient(at 88% 0%, rgba(240, 223, 223, 0.09) 0, transparent 48%);
  --lb-surface: #ffffff;
  --lb-surface-soft: #f8fafc;
  --lb-surface-muted: #f5f7fb;

  --lb-text: #0f172a;
  --lb-text-muted: #475569;
  --lb-text-soft: #64748b;
  --lb-text-faint: #94a3b8;

  --lb-border: #e2e8f0;
  --lb-border-strong: #cbd5e1;
  --lb-border-soft: rgba(15, 23, 42, 0.06);
  --lb-divider: #eef2f7;

  --lb-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --lb-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --lb-shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.12);
  --lb-shadow-float: 0 14px 34px rgba(15, 23, 42, 0.10);

  --lb-radius-sm: 12px;
  --lb-radius-md: 16px;
  --lb-radius-lg: 20px;
  --lb-radius-xl: 24px;
  --lb-radius-pill: 999px;

  --lb-text-size-small: 0.875rem;
  --lb-text-size-xsmall: 0.82rem;
  --lb-text-size-default: 0.95rem;
  --lb-text-size-large: 1.08rem;

  --lb-text-weight-light: 400;
  --lb-text-weight-normal: 450;
  --lb-text-weight-bold: 600;
  --lb-text-weight-emphasis: 650;

  --lb-header-height: 72px;
  --lb-atmosphere-image: url("/static/images/bg/home_bg_02.9d351d652640.jpg");

  --lb-slider-thumb: var(--lb-accent);
  --lb-slider-track: color-mix(in srgb, var(--lb-accent) 22%, #d7dee7);
}

/* --------------------------------
   2. Base / Document
-------------------------------- */

html {
  scroll-behavior: smooth;
}

body.lb-theme {
  margin: 0;
  background-color: var(--lb-page-bg);
  background-image: var(--lb-page-atmosphere);
  background-repeat: no-repeat;
  color: var(--lb-text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

.lb-theme,
.lb-theme h1,
.lb-theme h2,
.lb-theme h3,
.lb-theme h4,
.lb-theme h5,
.lb-theme h6,
.lb-theme .uk-button,
.lb-theme .uk-input,
.lb-theme .uk-select,
.lb-theme .uk-textarea {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lb-theme button {
  font-family: inherit;
}

.lb-theme button,
.lb-theme a[href] {
  cursor: pointer;
}

.lb-theme .hidden {
  display: none !important;
}

.lb-theme a {
  color: inherit;
}

.lb-theme h1,
.lb-theme h2,
.lb-theme h3,
.lb-theme h4,
.lb-theme h5,
.lb-theme h6 {
  color: var(--lb-text);
  letter-spacing: -0.03em;
}

.lb-theme h1 {
  font-size: clamp(1.88rem, 5vw, 3rem);
  font-weight: var(--lb-text-weight-emphasis);
  line-height: 1.06;
}

.lb-theme h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.12;
}

.lb-theme h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.2;
}

.lb-theme p,
.lb-theme li,
.lb-theme dt,
.lb-theme dd {
  color: var(--lb-text-muted);
  font-size: inherit;
  font-weight: inherit;
}

.lb-theme label {
  color: var(--lb-text-soft);
  font-weight: var(--lb-text-weight-bold);
}

.lb-accent-text {
  color: var(--lb-accent);
}


/* --------------------------------
   3. UIKit Visual Remap
-------------------------------- */

.lb-theme .uk-section {
  background-color: transparent;
}

.lb-theme .uk-section-default {
  background-color: transparent;
}

.lb-theme .uk-section-muted {
  background-color: rgba(255, 255, 255, 0.5);
}

.lb-theme .uk-background-default {
  background-color: var(--lb-surface) !important;
}

.lb-theme .uk-background-muted {
  background-color: var(--lb-surface-muted) !important;
}

.lb-theme .uk-background-secondary {
  background-color: #0f172a !important;
}

.lb-theme .uk-border-rounded {
  border-radius: var(--lb-radius-md);
}

.lb-theme .uk-box-shadow-small {
  box-shadow: var(--lb-shadow-sm);
}

.lb-theme .uk-box-shadow-medium,
.lb-theme .uk-box-shadow-default {
  box-shadow: var(--lb-shadow-md);
}

.lb-theme .uk-box-shadow-large {
  box-shadow: var(--lb-shadow-lg);
}

.lb-theme .uk-card,
.lb-theme .uk-dropdown,
.lb-theme .uk-offcanvas-bar,
.lb-theme .uk-notification-message,
.lb-theme .uk-modal-dialog {
  border-radius: var(--lb-radius-md);
}

.lb-theme .uk-tooltip {
  border-radius: 6px;
}

.lb-theme .uk-card-default,
.lb-theme .uk-card-secondary,
.lb-theme .uk-dropdown,
.lb-theme .uk-offcanvas-bar,
.lb-theme .uk-modal-dialog,
.lb-theme .uk-tile-default {
  background: var(--lb-surface);
  color: var(--lb-text);
}

.lb-theme .uk-card-default,
.lb-theme .uk-card-secondary,
.lb-theme .uk-dropdown,
.lb-theme .uk-modal-dialog {
  border: 1px solid var(--lb-border-soft);
  box-shadow: var(--lb-shadow-md);
}

.lb-theme .uk-card-default .uk-card-header,
.lb-theme .uk-card-default .uk-card-footer,
.lb-theme .uk-card-secondary .uk-card-header,
.lb-theme .uk-card-secondary .uk-card-footer {
  border-color: var(--lb-divider);
}

.lb-theme .uk-modal-dialog {
  border-radius: var(--lb-radius-md) !important;
  overflow: hidden;
  background-clip: padding-box;
  clip-path: inset(0 round var(--lb-radius-md));
}

.lb-theme .uk-modal-header,
.lb-theme .uk-modal-body,
.lb-theme .uk-modal-footer {
  background: var(--lb-surface);
}

.lb-theme .uk-modal-body {
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.lb-theme .uk-dropdown,
.lb-theme .uk-offcanvas-bar {
  border: 1px solid var(--lb-border-soft);
}

.lb-theme .uk-navbar-container:not(.uk-navbar-transparent) {
  background: rgba(252, 251, 252, 0.94);
  border-bottom: 1px solid var(--lb-border-soft);
  box-shadow: none;
}

.lb-theme .uk-text-primary {
  color: var(--lb-accent) !important;
}

.lb-theme .uk-text-secondary {
  color: var(--lb-text) !important;
}

.lb-theme .uk-text-muted {
  color: var(--lb-text-muted) !important;
}

.lb-theme .uk-text-soft,
.lb-theme .uk-article-meta {
  color: var(--lb-text-soft) !important;
}

.lb-theme .uk-text-meta {
  color: var(--lb-text-faint) !important;
}

.lb-theme .uk-text-small {
  font-size: var(--lb-text-size-small) !important;
}

.lb-theme .uk-text-xsmall {
  font-size: var(--lb-text-size-xsmall) !important;
}

.lb-theme .uk-text-default {
  font-size: var(--lb-text-size-default) !important;
}

.lb-theme .uk-text-large {
  font-size: var(--lb-text-size-large) !important;
}

.lb-theme .uk-text-light {
  font-weight: var(--lb-text-weight-light) !important;
}

.lb-theme .uk-text-normal {
  font-weight: var(--lb-text-weight-normal) !important;
}

.lb-theme .uk-text-bold {
  font-weight: var(--lb-text-weight-bold) !important;
}

.lb-theme .uk-text-emphasis {
  font-weight: var(--lb-text-weight-emphasis) !important;
}

.lb-theme .uk-heading-small,
.lb-theme .uk-heading-medium,
.lb-theme .uk-heading-large,
.lb-theme .uk-heading-xlarge,
.lb-theme .uk-heading-2xlarge {
  color: var(--lb-text);
  letter-spacing: -0.03em;
}

.lb-theme .uk-link,
.lb-theme .uk-link-heading,
.lb-theme .uk-link-text,
.lb-theme .uk-link-muted a,
.lb-theme a.uk-link-muted {
  transition: color 0.15s ease;
}

.lb-theme .uk-link,
.lb-theme .uk-link-muted a,
.lb-theme a.uk-link-muted {
  color: var(--lb-text-soft);
}

.lb-theme .uk-link:hover,
.lb-theme .uk-link-heading:hover,
.lb-theme .uk-link-text:hover,
.lb-theme .uk-link-muted a:hover,
.lb-theme a.uk-link-muted:hover {
  color: var(--lb-text);
}

.lb-theme .uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--lb-radius-sm);
  font-family: inherit;
  font-weight: var(--lb-text-weight-bold);
  letter-spacing: -0.02em;
  text-transform: none;
  box-shadow: none;
}

.lb-theme .uk-button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  border-radius: var(--lb-radius-sm);
}

.lb-theme .uk-button-xsmall {
  min-height: 32px;
  padding: 0 12px;
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  border-radius: var(--lb-radius-sm);
}

.lb-theme .uk-button-large {
  min-height: 48px;
  padding: 0 22px;
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  border-radius: var(--lb-radius-md);
}

.lb-theme .uk-button-default {
  background: var(--lb-surface);
  border: 1px solid var(--lb-border-strong);
  color: var(--lb-text);
}

.lb-theme .uk-button-default:hover,
.lb-theme .uk-button-default:focus {
  background: #f8fafc;
  border-color: var(--lb-border-strong);
  color: var(--lb-text);
}

.lb-theme .uk-button:disabled,
.lb-theme .uk-button[disabled],
.lb-theme .uk-button.uk-disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.62;
}

.lb-theme .uk-button-default:disabled,
.lb-theme .uk-button-default[disabled],
.lb-theme .uk-button-default.uk-disabled {
  background: #f8f8f9;
  border-color: #dddddf;
  color: #9ca3af;
}

.lb-theme .uk-button-default:disabled:hover,
.lb-theme .uk-button-default:disabled:focus,
.lb-theme .uk-button-default[disabled]:hover,
.lb-theme .uk-button-default[disabled]:focus,
.lb-theme .uk-button-default.uk-disabled:hover,
.lb-theme .uk-button-default.uk-disabled:focus {
  background: #f8f8f9;
  border-color: #dddddf;
  color: #9ca3af;
  box-shadow: none;
}

.lb-theme .uk-button-primary {
  background: var(--lb-accent);
  border: 1px solid var(--lb-accent);
  color: #ffffff;
}

.lb-theme .uk-button-primary:hover,
.lb-theme .uk-button-primary:focus {
  background: var(--lb-accent-hover);
  border-color: var(--lb-accent-hover);
  color: #ffffff;
}

.lb-theme .uk-button-primary:disabled,
.lb-theme .uk-button-primary[disabled],
.lb-theme .uk-button-primary.uk-disabled {
  background: color-mix(in srgb, var(--lb-accent) 78%, #ffffff 22%);
  border-color: color-mix(in srgb, var(--lb-accent) 64%, #ffffff 36%);
  color: rgba(255, 255, 255, 0.88);
}

.lb-theme .uk-button-primary:disabled:hover,
.lb-theme .uk-button-primary:disabled:focus,
.lb-theme .uk-button-primary[disabled]:hover,
.lb-theme .uk-button-primary[disabled]:focus,
.lb-theme .uk-button-primary.uk-disabled:hover,
.lb-theme .uk-button-primary.uk-disabled:focus {
  background: color-mix(in srgb, var(--lb-accent) 78%, #ffffff 22%);
  border-color: color-mix(in srgb, var(--lb-accent) 64%, #ffffff 36%);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.lb-theme .uk-button-secondary {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
}

.lb-theme .uk-button-secondary:hover,
.lb-theme .uk-button-secondary:focus {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

.lb-theme .uk-button-secondary:disabled,
.lb-theme .uk-button-secondary[disabled],
.lb-theme .uk-button-secondary.uk-disabled {
  background: color-mix(in srgb, #0f172a 78%, #ffffff 22%);
  border-color: color-mix(in srgb, #0f172a 60%, #ffffff 40%);
  color: rgba(255, 255, 255, 0.88);
}

.lb-theme .uk-button-secondary:disabled:hover,
.lb-theme .uk-button-secondary:disabled:focus,
.lb-theme .uk-button-secondary[disabled]:hover,
.lb-theme .uk-button-secondary[disabled]:focus,
.lb-theme .uk-button-secondary.uk-disabled:hover,
.lb-theme .uk-button-secondary.uk-disabled:focus {
  background: color-mix(in srgb, #0f172a 78%, #ffffff 22%);
  border-color: color-mix(in srgb, #0f172a 60%, #ffffff 40%);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.lb-theme .uk-button-danger {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #ffffff;
}

.lb-theme .uk-button-danger:hover,
.lb-theme .uk-button-danger:focus {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

.lb-theme .uk-button-text,
.lb-theme .uk-button-link {
  color: var(--lb-text-muted);
  font-size: 0.92rem;
}

.lb-theme .uk-button-text:hover,
.lb-theme .uk-button-text:focus,
.lb-theme .uk-button-link:hover,
.lb-theme .uk-button-link:focus {
  color: var(--lb-text);
}

.lb-theme .uk-button.lb-button-pill {
  border-radius: var(--lb-radius-pill);
}

.lb-theme .uk-input,
.lb-theme .uk-select,
.lb-theme .uk-textarea {
  border-radius: var(--lb-radius-sm);
  border: 1px solid var(--lb-border);
  background-color: var(--lb-surface);
  color: var(--lb-text);
  box-shadow: none;
}

.lb-theme .uk-input:focus,
.lb-theme .uk-select:focus,
.lb-theme .uk-textarea:focus {
  border-color: var(--lb-border-strong);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.lb-theme .uk-input::placeholder,
.lb-theme .uk-textarea::placeholder {
  color: var(--lb-text-faint);
}

.lb-theme .uk-input:disabled,
.lb-theme .uk-select:disabled,
.lb-theme .uk-textarea:disabled,
.lb-theme .uk-input[disabled],
.lb-theme .uk-select[disabled],
.lb-theme .uk-textarea[disabled] {
  border-color: var(--lb-border-soft);
  background-color: color-mix(in srgb, var(--lb-surface-soft) 88%, #ffffff);
  color: var(--lb-text-soft);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 1;
}

.lb-theme .uk-input:disabled::placeholder,
.lb-theme .uk-textarea:disabled::placeholder,
.lb-theme .uk-input[disabled]::placeholder,
.lb-theme .uk-textarea[disabled]::placeholder {
  color: var(--lb-text-faint);
}

.lb-theme .uk-form-label {
  color: var(--lb-text);
  font-weight: var(--lb-text-weight-bold);
  font-size: var(--lb-text-size-default);
  line-height: 1.35;
}

.lb-theme .uk-form-stacked .uk-form-label {
  margin-bottom: 8px;
}

.lb-theme .help-text {
  padding: 6px 12px;
  margin-top: 8px;
}

.lb-theme .uk-checkbox,
.lb-theme .uk-radio {
  border-color: var(--lb-border-strong);
}

.lb-theme .uk-checkbox:checked,
.lb-theme .uk-checkbox:indeterminate,
.lb-theme .uk-radio:checked {
  background-color: var(--lb-accent);
  border-color: var(--lb-accent);
}

.lb-theme .uk-tab > * > a {
  color: var(--lb-text-soft);
  text-transform: none;
  letter-spacing: 0;
}

.lb-theme .uk-tab > * > a:hover {
  color: var(--lb-text);
}

.lb-theme .uk-tab > .uk-active > a {
  color: var(--lb-text);
  border-color: var(--lb-accent);
}

.lb-theme .uk-subnav-pill > * > a {
  border-radius: var(--lb-radius-pill);
}

.lb-theme .uk-subnav-pill > .uk-active > a {
  background: var(--lb-accent);
  color: #ffffff;
}

.lb-theme .uk-dropdown-nav > li > a {
  color: var(--lb-text-soft);
}

.lb-theme .uk-dropdown-nav > li > a:hover,
.lb-theme .uk-dropdown-nav > li > a:focus {
  color: var(--lb-text);
}

.lb-theme .uk-dropdown-nav > li.uk-active > a,
.lb-theme .uk-dropdown-nav > li.uk-active > a:hover,
.lb-theme .uk-dropdown-nav > li.uk-active > a:focus {
  color: var(--lb-text);
}

.lb-theme .uk-breadcrumb > :nth-child(n + 2):not(.uk-first-column)::before {
  color: var(--lb-text-faint);
}

.lb-theme .uk-pagination > * > * {
  border-radius: var(--lb-radius-sm);
}

.lb-theme .uk-table th {
  color: var(--lb-text);
  font-weight: var(--lb-text-weight-bold);
  letter-spacing: -0.01em;
  text-transform: none;
}

.lb-theme .uk-table td {
  color: var(--lb-text-muted);
}

.lb-theme .uk-table-divider > tr:not(:first-child),
.lb-theme .uk-table-divider > :not(:first-child) > tr,
.lb-theme .uk-table-divider > :first-child > tr:not(:first-child) {
  border-top-color: var(--lb-divider);
}

.lb-theme .uk-list-divider > li:nth-child(n + 2) {
  border-top-color: var(--lb-divider);
}

.lb-theme .uk-description-list > dt {
  color: var(--lb-text);
}

.lb-theme .uk-description-list > dd {
  color: var(--lb-text-muted);
}

.lb-theme .uk-badge,
.lb-theme #cart-product-qty {
  background-color: var(--lb-accent);
  color: #ffffff;
  box-shadow: 0 0 0 2px var(--lb-page-bg);
}

.lb-theme .uk-label {
  border-radius: var(--lb-radius-pill);
  background-color: var(--lb-accent);
}

.lb-theme .uk-progress::-webkit-progress-value {
  background-color: var(--lb-accent);
}

.lb-theme .uk-progress::-moz-progress-bar {
  background-color: var(--lb-accent);
}

.lb-theme .uk-alert {
  border: 1px solid transparent;
}

.lb-theme .uk-alert-primary {
  background: color-mix(in srgb, var(--lb-accent) 10%, #ffffff);
  color: var(--lb-accent);
}

.lb-theme .uk-alert-success {
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
}

.lb-theme .uk-alert-warning {
  background: rgba(245, 158, 11, 0.10);
  color: #92400e;
}

.lb-theme .uk-alert-danger {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.lb-theme .uk-notification-message {
  box-shadow: var(--lb-shadow-lg);
  font-family: inherit;
}

.lb-theme .uk-search-default .uk-search-input,
.lb-theme .uk-search-navbar .uk-search-input,
.lb-theme .uk-search-large .uk-search-input {
  color: var(--lb-text);
}

.lb-theme .uk-notification-message-primary {
  background: color-mix(in srgb, var(--lb-accent) 14%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--lb-accent) 30%, transparent);
  color: var(--lb-accent);
}

/* --------------------------------
   4. Shared Layout Primitives
-------------------------------- */

.lb-app {
  min-height: 100vh;
  background: transparent;
}

.lb-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.lb-divider {
  height: 1px;
  background: var(--lb-border);
}

/* --------------------------------
   5. Shared Hero System
-------------------------------- */
.lb-hero-atmosphere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--lb-page-bg);
  background-image: var(--lb-page-atmosphere);
  background-repeat: no-repeat;
}

.lb-hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lb-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 34%,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.62) 74%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 34%,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.62) 74%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.lb-home-hero-section .uk-container {
  position: relative;
}

.lb-home-hero-section .uk-container::before {
  content: "";
  position: absolute;
  inset: -24px 8% -18px;
  border-radius: 999px;
  background: rgba(252, 251, 252, 0.32);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.lb-hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(252, 251, 252, 0.08) 0%,
    rgba(252, 251, 252, 0.14) 36%,
    rgba(252, 251, 252, 0.10) 62%,
    rgba(252, 251, 252, 0.04) 82%,
    rgba(252, 251, 252, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.lb-hero-atmosphere > * {
  position: relative;
  z-index: 1;
}

.lb-theme .lb-hero-title {
  color: var(--lb-text);
  font-size: clamp(1.88rem, 5vw, 2.88rem);
  font-weight: var(--lb-text-weight-emphasis);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 auto 12px;
}

.lb-theme .lb-hero-subtitle {
  font-size: clamp(0.98rem, 0.9rem + 0.5vw, 1.18rem);
  line-height: 1.45;
  color: var(--lb-text);
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 18px rgba(255, 255, 255, 0.28);
}



/* Legacy hero variant kept for older manifest flows */
.lb-hero-form {
  width: 100%;
}

.lb-hero-form-shell {
  overflow: hidden;
  border: 1px solid var(--lb-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--lb-shadow-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lb-hero-form-shell:focus-within {
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.lb-hero-input-wrap {
  min-height: 72px;
}

.lb-hero-input {
  display: block;
  width: 100%;
  height: 72px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: var(--lb-text);
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  font-weight: var(--lb-text-weight-normal);
  line-height: 72px;
  box-shadow: none;
  outline: none;
}

.lb-hero-input::placeholder {
  color: var(--lb-text-faint);
}

.lb-hero-actions {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 8px;
  gap: 8px;
  border-top: 1px solid var(--lb-border);
  box-sizing: border-box;
}

.lb-hero-select-wrap {
  position: relative;
  flex: 0 0 auto;
  min-width: 14ch;
  width: 14ch;
  max-width: 100%;
  height: 72px;
}

.lb-hero-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lb-text-soft);
  border-bottom: 2px solid var(--lb-text-soft);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.lb-hero-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 72px;
  padding: 0 36px 0 16px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: var(--lb-text);
  font: inherit;
  font-size: 1rem;
  font-weight: var(--lb-text-weight-normal);
  line-height: 72px;
  box-shadow: none;
  outline: none;
}

.lb-theme .uk-button.lb-hero-submit {
  flex: 1 1 auto;
  min-width: 108px;
  height: 56px;
  margin: 0;
  padding: 0 24px;
  border-radius: var(--lb-radius-pill);
  font-size: 1.1rem;
  font-weight: var(--lb-text-weight-emphasis);
  line-height: 1;
  letter-spacing: -0.02em;
  align-self: center;
}

/* --------------------------------
   6. Homepage Builder
   Used by: templates/main/index.html
-------------------------------- */
.lb-home-hero-section {
  overflow: visible;
  z-index: 12;
}

.lb-home-intention-form {
  width: 100%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 20;
}

.lb-home-hidden-prompt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.lb-home-builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "combo"
    "button";
  overflow: hidden;
  border: 1px solid var(--lb-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--lb-shadow-md);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.lb-home-builder-shell:focus-within,
.lb-home-builder-shell.is-open {
  border-color: color-mix(in srgb, var(--lb-accent) 34%, var(--lb-border-strong));
  box-shadow:
  0 0 0 3px color-mix(in srgb, var(--lb-accent) 10%, transparent),
  0 14px 34px rgba(15, 23, 42, 0.12);
}

.lb-home-combobox-wrap {
  grid-area: combo;
  min-width: 0;
}

.lb-home-combobox {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px 14px 18px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: var(--lb-text);
  font-weight: var(--lb-text-weight-bold);
  text-align: left;
  position: relative;
}

.lb-home-combobox.is-open {
  background: color-mix(in srgb, var(--lb-accent) 5%, rgba(255,255,255,0.5));
}

.lb-home-combobox.is-open .lb-home-combobox-caret,
.lb-home-combobox[aria-expanded="true"] .lb-home-combobox-caret {
  transform: translateY(-32%) rotate(-135deg);
  opacity: 1;
}

.lb-home-combobox-prefix {
  flex: 0 0 auto;
  color: var(--lb-text);
  white-space: nowrap;
}

.lb-home-combobox-display {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lb-home-combobox-placeholder {
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-large);
  font-weight: var(--lb-text-weight-bold);
}

.lb-home-combobox-caret {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--lb-text);
  border-bottom: 2px solid var(--lb-text);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.lb-home-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--lb-accent) 40%, var(--lb-border));
  border-radius: var(--lb-radius-pill);
  background: color-mix(in srgb, var(--lb-accent) 12%, #ffffff);
  color: var(--lb-text);
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1;
  white-space: nowrap;
}

.lb-home-selected-chip-remove {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--lb-accent) 70%, var(--lb-text-soft));
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.lb-home-selected-chip-remove:hover {
  color: var(--lb-accent-hover);
}

.lb-home-submit-wrap {
  grid-area: button;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 8px;
  box-sizing: border-box;
  border-top: 1px solid var(--lb-border);
  border-left: 0;
}

.lb-theme .uk-button.lb-home-submit {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--lb-radius-pill);
  font-size: var(--lb-text-size-large);
  font-weight: var(--lb-text-weight-emphasis);
  line-height: 1;
  white-space: nowrap;
}

.lb-theme .uk-button.lb-home-submit:disabled,
.lb-theme .uk-button.lb-home-submit[aria-disabled="true"] {
  background: color-mix(in srgb, var(--lb-accent) 44%, #ffffff);
  border-color: color-mix(in srgb, var(--lb-accent) 56%, #dbe2ec);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.lb-theme .uk-button.lb-home-submit:disabled:hover,
.lb-theme .uk-button.lb-home-submit:disabled:focus,
.lb-theme .uk-button.lb-home-submit[aria-disabled="true"]:hover,
.lb-theme .uk-button.lb-home-submit[aria-disabled="true"]:focus {
  background: color-mix(in srgb, var(--lb-accent) 44%, #ffffff);
  border-color: color-mix(in srgb, var(--lb-accent) 56%, #dbe2ec);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  transform: none;
}

/* Prevent flash of uninitialized dropdowns */
.lb-nav-drop,
.lb-home-intention-picker {
  display: none;
}

/* Show when UIKit opens them */
.lb-nav-drop.uk-open,
.lb-home-intention-picker.uk-open {
  display: block;
}

.lb-home-intention-picker {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  top: calc(100% + 12px);
  z-index: 50;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: calc(var(--lb-radius-lg) + 2px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.13);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-align: left;
}

.lb-home-intention-picker-inner {
  padding: 0px;
}

.lb-home-intention-picker-head {
  gap: 12px;
}

.lb-home-intention-picker-title-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.lb-home-intention-popular-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.lb-home-intention-popular-row .lb-home-intention-group-icon {
  flex: 0 0 auto;
  color: var(--lb-accent);
}

.lb-home-intention-popular-row .lb-home-intention-chip-row {
  min-width: 0;
}

.lb-home-intention-picker-title {
  color: var(--lb-text-muted);
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-emphasis);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

/* Shared by: templates/partials/3d_panel_creation_details.html
   and creation detail / homepage metadata surfaces */
.lb-creation-description-label {
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-emphasis);
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.lb-accent-hint-hero {
  background:
    radial-gradient(
      at 50% 0%,
      color-mix(in srgb, var(--lb-accent) 8%, transparent),
      transparent 60%
    )
}

.lb-home-intention-close-button {
  flex: 0 0 auto;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--lb-text-soft);
  font: inherit;
  cursor: pointer;
}

.lb-home-intention-close-button:hover {
  color: var(--lb-text);
  background: var(--lb-surface-muted);
}

.lb-home-intention-close-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.lb-home-intention-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.lb-home-intention-group {
  min-width: 0;
  padding: 0 0 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.lb-home-intention-group-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-home-intention-group-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.lb-home-intention-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 639px) {
  .lb-home-combobox {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 8px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .lb-home-combobox-prefix {
    display: block;
    width: 100%;
    text-align: center;
  }

  .lb-home-combobox-display {
    width: 100%;
    justify-content: center;
  }

  .lb-home-intention-group {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
  }

  .lb-home-intention-group-title {
    margin-bottom: 0;
    gap: 0;
  }

  .lb-home-intention-group-title span {
    display: none;
  }

  .lb-home-intention-chip-row {
    --lb-chip-hover-gutter-top: 8px;
    --lb-chip-hover-gutter-bottom: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: var(--lb-chip-hover-gutter-top);
    padding-bottom: var(--lb-chip-hover-gutter-bottom);
    margin-top: calc(var(--lb-chip-hover-gutter-top) * -1);
    margin-bottom: calc(var(--lb-chip-hover-gutter-bottom) * -1);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lb-home-intention-chip-row::-webkit-scrollbar {
    display: none;
  }

  .lb-home-intention-chip-row .lb-home-intention-chip {
    flex: 0 0 auto;
  }
}

.lb-home-intention-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--lb-radius-pill);
  background: #ffffff;
  color: var(--lb-text);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.lb-home-intention-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: var(--lb-text);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.lb-home-intention-chip.is-selected {
  border-color: color-mix(in srgb, var(--lb-accent) 38%, var(--lb-border));
  background: color-mix(in srgb, var(--lb-accent) 12%, #ffffff);
  color: var(--lb-text);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--lb-accent) 14%, rgba(15, 23, 42, 0.02));
}

.lb-home-intention-chip.is-blocked,
.lb-home-intention-chip:disabled {
  opacity: 0.4;
  pointer-events: none;
  box-shadow: none;
}

.lb-home-intention-custom {
  margin-top: 12px;
  background: transparent;
}

.lb-home-intention-custom-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}

.lb-home-intention-custom-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-home-intention-custom-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.lb-home-intention-custom-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--lb-radius-pill);
  background: #ffffff;
  box-sizing: border-box;
  color: var(--lb-text);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  outline: none;
}

.lb-home-intention-custom-input:focus {
  border-color: var(--lb-border-strong);
}

.lb-home-intention-custom-input::placeholder {
  color: var(--lb-text-faint);
}

.lb-home-intention-custom-add {
  min-width: 88px;
}

.lb-home-intention-custom-message {
  min-height: 18px;
  margin-top: 8px;
  color: var(--lb-text-soft);
  font-size: 0.76rem;
  font-weight: var(--lb-text-weight-normal);
  line-height: 1.3;
}

.lb-home-intention-custom-message:empty {
  display: none;
}

@media (max-width: 639px) {
  .lb-home-intention-custom {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
  }

  .lb-home-intention-custom-head {
    margin-bottom: 0;
  }

  .lb-home-intention-custom-title {
    gap: 0;
  }

  .lb-home-intention-custom-title span {
    display: none;
  }

  .lb-home-intention-custom-message {
    grid-column: 2;
  }
}

@media (min-width: 640px) {
  .lb-home-builder-shell {
    grid-template-columns: minmax(0, 1fr) minmax(168px, 200px);
    grid-template-areas: "combo button";
    align-items: stretch;
  }

  .lb-home-submit-wrap {
    border-top: 0;
    border-left: 1px solid var(--lb-border);
    padding-left: 8px;
    padding-right: 8px;
    min-width: 168px;
  }

  .lb-theme .uk-button.lb-home-submit {
    min-width: 158px;
  }

  .lb-home-intention-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* --------------------------------
   7. Shared Stage / Viewer Surface
   Shared by: templates/partials/3d_viewer.html and related 3D panels
-------------------------------- */

.lb-canvas-stage {
  background-color: #f8f8f8;
  -webkit-mask-image: radial-gradient(circle closest-side, black 88%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 88%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.lb-stage-canvas {
  outline: none;
  border: 0;
  visibility: hidden;
}

#canvas-container {
  display: block;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
}

#canvas-container #previewCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

#canvas-container #photo-overlay {
  width: 100%;
  height: 100%;
}

#canvas-container #toggle-photo {
  width: 100%;
  height: 100%;
}

#canvas-container #creation-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#canvas-container #toggle-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-stage-loading-overlay {
  z-index: 2;
}

.lb-stage-photo-overlay {
  z-index: 3;
}

#reset-camera-overlay {
  padding: 6px 8px;
}

.camera-control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.camera-control-button:hover,
.camera-control-button:focus {
  color: inherit;
  outline: none;
}

.lb-stage-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 116px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
}

.lb-stage-pill-action-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--lb-text);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.lb-stage-pill-action-button:hover,
.lb-stage-pill-action-button:focus {
  color: var(--lb-text);
  outline: none;
}

.lb-stage-tool-group {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  min-height: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.lb-stage-tool-button {
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid rgba(148, 163, 184, 0.34);
  background: transparent;
  color: var(--lb-text);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}

.lb-stage-tool-button:last-child {
  border-right: 0;
}

.lb-stage-tool-button:hover,
.lb-stage-tool-button:focus {
  background: rgba(255, 255, 255, 0.68);
  color: var(--lb-text);
  outline: none;
  box-shadow: none;
}

.lb-stage-tool-button:disabled,
.lb-stage-tool-button[disabled] {
  color: var(--lb-text-soft);
  opacity: 0.72;
  cursor: not-allowed;
}

.lb-stage-tool-button:disabled:hover,
.lb-stage-tool-button:disabled:focus,
.lb-stage-tool-button[disabled]:hover,
.lb-stage-tool-button[disabled]:focus {
  background: transparent;
  color: var(--lb-text-soft);
}

.camera-control-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Shared hero/stage responsive adjustments */
@media (min-width: 640px) {
  .lb-hero-form-shell {
    display: flex;
    align-items: stretch;
  }

  .lb-hero-input-wrap {
    flex: 1 1 auto;
    min-height: 0;
    height: 72px;
  }

  .lb-hero-input {
    height: 72px;
    padding-left: 24px;
    padding-right: 24px;
    line-height: 72px;
  }

  .lb-hero-actions {
    flex: 0 0 auto;
    min-height: 72px;
    padding: 0 8px 0 12px;
    border-top: 0;
    border-left: 1px solid var(--lb-border);
  }

  .lb-hero-select-wrap {
    height: 72px;
  }

  .lb-hero-select {
    height: 72px;
    padding-left: 0;
    padding-right: 38px;
    line-height: 72px;
  }

  .lb-hero-select-wrap::after {
    right: 16px;
  }

  .lb-theme .uk-button.lb-hero-submit {
    flex: 0 0 auto;
    min-width: 136px;
    height: 56px;
    padding: 0 26px;
  }
}

/* Shared by: templates/partials/icons_section.html and templates/partials/3d_viewer_icons.html */
.lb-benefits-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-benefits-icon {
  display: block;
  width: 68px;
  height: auto;
}

.lb-benefits-label {
  line-height: 1.35;
}

.lb-benefits-grid .lb-benefits-media {
  min-height: 68px;
}

/* --------------------------------
   8. Theme Selector
-------------------------------- */

.lb-gem-theme-grid {
  width: 100%;
  margin: 0;
}

.lb-gem-theme-grid > div {
  text-align: center;
}

.lb-gem-theme-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--lb-radius-pill);
  background: transparent;
  box-shadow: 0 0 0 0 transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lb-gem-theme-option img {
  display: block;
  width: auto;
  height: auto;
  max-width: 32px;
  max-height: 32px;
  border-radius: var(--lb-radius-pill);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10);
}

.lb-gem-theme-option:hover {
  transform: translateY(-1px) scale(1.06);
}

.lb-gem-theme-option:focus-visible,
.lb-gem-theme-option.is-active {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.12),
    0 0 0 6px var(--lb-theme-halo, rgba(208, 108, 126, 0.24));
}

.lb-gem-theme-selected {
  color: var(--lb-text-soft);
}

/* --------------------------------
   9. Shared Site Header / Navigation
   Used by: templates/partials/base_header.html
-------------------------------- */

.lb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--lb-border-soft);
  background: rgba(252, 251, 252, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lb-header-inner {
  min-height: var(--lb-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lb-text);
  text-decoration: none;
}

.lb-brand:hover {
  color: var(--lb-text);
  text-decoration: none;
}

.lb-brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.lb-brand-name {
  font-size: 1.4rem;
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lb-text);
}

.lb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-nav-desktop {
  display: none;
}

.lb-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.lb-nav-item {
  position: relative;
}

.lb-nav-drop {
  width: 300px;
  padding: 12px;
  border: 1px solid var(--lb-border-soft);
  border-radius: var(--lb-radius-md);
  background: var(--lb-surface);
  box-shadow: var(--lb-shadow-lg);
}

.lb-nav-drop.lb-nav-drop-sm {
  width: 200px;
}

.lb-header-dropdown {
  z-index: 1100;
}

.lb-theme-picker-dropdown {
  padding: 20px;
}

/* Account dropdown */
.lb-user-menu-dropdown > a {
  font-size: var(--lb-text-size-small);
  padding: 9px 12px;
}

.lb-user-menu-logout {
  padding: 10px 12px !important;
}

.lb-user-menu-dropdown form button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 9px 12px !important;
  color: var(--lb-text-muted) !important;
  font-size: var(--lb-text-size-small) !important;
  font-weight: var(--lb-text-weight-normal) !important;
  text-align: left;
  text-decoration: none;
}

.lb-user-menu-dropdown .lb-header-menu-row > span:last-child {
  font-size: var(--lb-text-size-small);
  line-height: 1.25;
}

.lb-user-menu-dropdown .lb-header-menu-row {
  color: var(--lb-text-muted);
}

.lb-user-menu-dropdown form button .lb-header-menu-row,
.lb-user-menu-dropdown > a .lb-header-menu-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.lb-user-menu-dropdown form button:hover .lb-header-menu-row,
.lb-user-menu-dropdown form button:focus .lb-header-menu-row,
.lb-user-menu-dropdown > a:hover .lb-header-menu-row,
.lb-user-menu-dropdown > a:focus .lb-header-menu-row {
  color: var(--lb-text);
}

.lb-user-menu-dropdown form button:hover,
.lb-user-menu-dropdown form button:focus {
  color: var(--lb-text) !important;
  text-decoration: none;
}

.lb-user-menu-dropdown i[data-lucide] {
  width: 15px !important;
  height: 15px !important;
}

/* Account sidebar nav */
.lb-account-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-account-nav > li + li {
  margin-top: 4px;
}

.lb-account-nav > li > a,
.lb-account-nav-logout {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--lb-radius-sm);
  color: var(--lb-text);
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-normal);
  text-decoration: none;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lb-account-nav > li > a:hover,
.lb-account-nav > li > a:focus,
.lb-account-nav-logout:hover,
.lb-account-nav-logout:focus {
  background: #f8fafc;
  color: var(--lb-text);
  text-decoration: none;
}

.lb-account-nav > li > a .lb-header-menu-row,
.lb-account-nav-logout .lb-header-menu-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 12px;
  color: inherit;
}

.lb-account-nav > li > a .lb-header-menu-row > span:last-child,
.lb-account-nav-logout .lb-header-menu-row > span:last-child {
  font-size: var(--lb-text-size-default);
  line-height: 1.3;
}

.lb-account-nav > li.is-active > a {
  background: color-mix(in srgb, var(--lb-accent) 12%, #ffffff);
  color: var(--lb-text);
  font-weight: var(--lb-text-weight-bold);
}

.lb-account-nav-icon {
  width: 18px !important;
  height: 18px !important;
  color: var(--lb-text-muted);
  flex-shrink: 0;
}

.lb-account-nav > li.is-active > a .lb-account-nav-icon,
.lb-account-nav > li > a:hover .lb-account-nav-icon,
.lb-account-nav > li > a:focus .lb-account-nav-icon,
.lb-account-nav-logout:hover .lb-account-nav-icon,
.lb-account-nav-logout:focus .lb-account-nav-icon {
  color: var(--lb-text);
}

.lb-account-nav-divider {
  height: 1px;
  margin: 8px 4px;
  background: var(--lb-divider);
}

.lb-account-nav-logout {
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lb-header-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--lb-header-height);
  border: 0;
  background: transparent;
  color: var(--lb-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lb-header-trigger:hover,
.lb-header-trigger:focus-visible {
  color: var(--lb-text);
  outline: none;
}

.lb-header-icon {
  width: 24px !important;
  height: 24px !important;
}

.lb-header-icon-sm {
  width: 16px !important;
  height: 16px !important;
}

.lb-header-menu-row {
  gap: 10px;
}

.lb-nav-button,
.lb-utility-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Main nav text triggers */
.lb-nav-button {
  gap: 6px;
  padding: 0 16px;
  font-size: 0.98rem;
  font-weight: var(--lb-text-weight-emphasis);
}

/* Shared utility triggers: theme, account, cart, mobile menu */
.lb-utility-trigger {
  width: 40px;
  min-height: var(--lb-header-height);
  padding: 0;
  color: var(--lb-text-muted);
  box-shadow: none;
  border-radius: 0;
}

.lb-utility-trigger:hover,
.lb-utility-trigger:focus-visible,
.lb-utility-trigger:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.lb-account-avatar {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.lb-account-avatar-round {
  border-radius: 999px;
}

.lb-account-avatar-square {
  border-radius: 8px;
}

.lb-nav-drop > a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--lb-radius-sm);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.lb-nav-drop > a:hover {
  background: #f8fafc;
}

.lb-nav-drop-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-nav-drop-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-nav-drop-icon {
  width: 18px;
  height: 18px;
  color: var(--lb-text-soft);
  flex-shrink: 0;
}

.lb-nav-drop-title {
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.35;
  color: var(--lb-text);
}

.lb-nav-drop-subtitle {
  margin-top: 2px;
  font-size: var(--lb-text-size-small);
  line-height: 1.4;
  color: var(--lb-text-soft);
}

.lb-nav-divider {
  height: 1px;
  margin: 0 4px;
  background: var(--lb-divider);
}

.lb-cart-badge {
  min-width: 16px;
  height: 16px;
  transform: translate(40%, -40%);
}

.lb-header-empty-cart-icon {
  width: 28px;
  height: 28px;
  color: var(--lb-text-soft);
}

.lb-mobile-menu-card {
  padding: 8px;
  border-radius: var(--lb-radius-md);
  background: #ffffff;
}

.lb-mobile-menu-group-label {
  margin: 20px 12px 8px;
  color: var(--lb-text-faint);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-mobile-menu-group-label:first-child {
  margin-top: 6px;
}

.lb-mobile-menu-card a {
  display: block;
  padding: 4px 12px;
  border-radius: var(--lb-radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.lb-mobile-menu-card a:hover,
.lb-mobile-menu-card a:focus {
  background: #f8fafc;
}

.lb-mobile-menu-entry {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-mobile-menu-icon {
  width: 18px;
  height: 18px;
  color: var(--lb-text-soft);
  flex-shrink: 0;
}

.lb-mobile-menu-primary {
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-bold);
  color: var(--lb-text);
}

.lb-mobile-menu-secondary {
  font-size: var(--lb-text-size-default);
  color: var(--lb-text-muted);
}

#cart-summary .uk-position-relative {
  border-top-left-radius: var(--lb-radius-md);
  border-top-right-radius: var(--lb-radius-md);
  overflow: hidden;
}

/* --------------------------------
   10. Shared Custom Controls
-------------------------------- */

.lb-icon-svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: currentColor;
  vertical-align: middle;
}

.lb-icon-svg use {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-overlay-icon-link,
.lb-overlay-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--lb-radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.lb-overlay-icon-link:hover,
.lb-overlay-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.lb-overlay-icon-link svg,
.lb-overlay-close svg,
.lb-inline-lucide {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.lb-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.lb-inline-lucide {
  position: relative;
  top: 4px;
}

.lb-swatch-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-theme-swatch {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: var(--lb-radius-pill);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lb-theme-swatch:hover {
  transform: scale(1.08);
}

.lb-theme-swatch.active {
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.12),
    0 0 0 5px rgba(255, 255, 255, 0.96);
}

.lb-cart-btn {
  border: 0;
  border-radius: var(--lb-radius-sm);
  background: var(--lb-accent);
  padding: 10px 28px;
  color: #ffffff;
  font-family: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  box-shadow: var(--lb-shadow-sm);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.lb-cart-btn:hover {
  background: var(--lb-accent-hover);
}

.lb-cart-btn-strong {
  min-width: 220px;
  min-height: 48px;
  border-radius: var(--lb-radius-pill);
  font-size: 0.98rem;
  font-weight: var(--lb-text-weight-emphasis);
  box-shadow: 0 8px 20px rgba(208, 108, 126, 0.22);
}

.lb-cart-btn-strong:hover {
  transform: translateY(-1px);
}

.lb-input-optical {
  appearance: none;
  -webkit-appearance: none;
}

/* Legacy candidate: used by older prompt-based homepage/assistant variants */
.lb-optical-text {
  position: relative;
}

.lb-prompt-input,
.lb-words-input,
.lb-size-select,
.lb-stone-select {
  font-family: inherit;
  box-shadow: none;
  outline: none;
}

.lb-prompt-input {
  display: block;
  width: 100%;
  height: 68px;
  border: 0;
  background: transparent;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  font-weight: var(--lb-text-weight-normal);
  color: #1e293b;
}

.lb-prompt-input::placeholder {
  color: var(--lb-text-faint);
}

.lb-stone-wrap {
  position: relative;
  flex: 0 0 auto;
  background-color: var(--lb-accent);
}

.lb-stone-select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  height: 64px;
  border: 0;
  background: transparent;
  padding: 0 40px 0 16px;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  font-weight: var(--lb-text-weight-normal);
  color: #ffffff;
}

.lb-stone-select option {
  color: var(--lb-text);
  background: #ffffff;
}

.lb-stone-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #ffffff;
  pointer-events: none;
}

/* --------------------------------
   11. Homepage Supporting UI
-------------------------------- */

/* Legacy candidate: used by assistant / alternate homepage prompt-chip flows */
.lb-chip-wrap {
  width: 100%;
  margin: 0 auto 0;
}

.lb-chip-strip {
  position: relative;
  margin: 0 auto;
  padding: 0 36px;
}

.lb-chip-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: pan-x;
}

.lb-chip-scroller::-webkit-scrollbar {
  display: none;
}

.lb-chip-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  white-space: nowrap;
}

.lb-chip-label {
  margin-right: 4px;
  flex-shrink: 0;
  font-size: 0.84rem;
  color: var(--lb-text-soft);
}

.lb-chip {
  display: inline-flex;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--lb-radius-pill);
  background: #f1f1f3;
  padding: 0 16px;
  color: var(--lb-text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lb-chip:hover {
  transform: translateY(-1px);
  border-color: var(--lb-border);
  background: #e6e8ec;
  color: #1e293b;
}

.lb-chip-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--lb-radius-pill);
  background: rgba(248, 248, 248, 0.92);
  color: var(--lb-text-muted);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  transform: translateY(-50%);
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lb-chip-nav:hover {
  background: rgba(255, 255, 255, 0.96);
  color: var(--lb-text);
}

.lb-chip-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.lb-chip-nav-prev {
  left: 0;
}

.lb-chip-nav-next {
  right: 0;
}


/* --------------------------------
   12. Homepage Featured Stage
   Used by: templates/main/index.html
-------------------------------- */

.lb-showcase-wrap {
  width: 100%;
  margin: 12px auto 0;
}

.lb-showcase-root {
  width: 100%;
  margin: 0 auto;
}

.lb-featured-stage {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
  transition: min-height 0.35s ease;
}

.lb-featured-layer {
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  will-change: opacity, transform;
}

.lb-featured-stage.is-featured #featured-preview-wrap {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lb-featured-stage.is-featured #interactive-scene-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.lb-featured-stage.is-interactive #featured-preview-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.lb-featured-stage.is-interactive #interactive-scene-wrap {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lb-featured-preview-wrap {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--lb-shadow-sm);
}

.lb-featured-preview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.lb-featured-card-footer {
  padding: 12px 12px;
  text-align: center;
  background: color-mix(in srgb, var(--lb-surface) 75%, var(--lb-surface-muted));
  border-top: 1px solid var(--lb-border-soft);
}

.lb-home-featured-review-image {
  width: min(100%, 175px);
  max-width: 175px;
  max-height: 175px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.lb-home-featured-review-stage {
  width: min(100%, 175px);
  max-width: 175px;
  max-height: 175px;
}

/* Shared by: templates/oscar/catalogue/partials/review.html */
.lb-review-photo {
  float: left;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.lb-interactive-scene-wrap #canvas-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lb-interactive-scene-wrap #previewCanvas {
  width: 100% !important;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.lb-first-create-reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lb-first-create-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .lb-first-create-reveal {
    transition: none;
    transform: none;
  }
}

/* --------------------------------
   13. Creation Copy / Metadata
   Shared by: homepage featured caption and creation detail views
-------------------------------- */
.lb-creation-title {
  color: var(--lb-text);
  font-size: var(--lb-text-size-default);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lb-creation-description {
  margin-top: 3px;
  color: var(--lb-text-muted);
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1.5;
}

.lb-creation-description-preview {
  position: relative;
}

.lb-creation-description-preview:not(.is-collapsible) .lb-creation-description-toggle {
  display: none;
}

.lb-creation-description-state:checked ~ .lb-creation-description-body {
  max-height: none;
}

.lb-creation-description-state:checked ~ .lb-creation-description-toggle .lb-creation-description-toggle-more {
  display: none;
}

.lb-creation-description-toggle .lb-creation-description-toggle-less {
  display: none;
}

.lb-creation-description-state:checked ~ .lb-creation-description-toggle .lb-creation-description-toggle-less {
  display: inline;
}

.lb-creation-description-body {
  position: relative;
  overflow: hidden;
  max-height: calc(1.55em * 3 + 0.25em);
  color: var(--lb-text-muted);
  font-size: var(--lb-text-size-default);
  line-height: 1.55;
}

.lb-creation-description-preview.is-collapsible .lb-creation-description-body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1.45em;
  background: linear-gradient(to bottom, rgba(252, 251, 252, 0), rgba(252, 251, 252, 0.82) 56%, rgba(252, 251, 252, 1) 100%);
  pointer-events: none;
}

.lb-creation-description-state:checked ~ .lb-creation-description-body::after {
  display: none;
}

.lb-creation-description-body > :first-child {
  margin-top: 0;
}

.lb-creation-description-body > :last-child {
  margin-bottom: 0;
}

.lb-creation-description-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--lb-accent);
  font-size: 0.84rem;
  font-weight: var(--lb-text-weight-emphasis);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.lb-creation-description-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.72;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.lb-creation-description-state:checked ~ .lb-creation-description-toggle::after {
  transform: translateY(1px) rotate(-135deg);
  opacity: 0.86;
}

.lb-creation-description-toggle:hover,
.lb-creation-description-toggle:focus {
  color: var(--lb-accent-hover);
  outline: none;
}

.lb-creation-order-meta-link {
  color: var(--lb-accent);
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.lb-creation-order-meta-link:hover,
.lb-creation-order-meta-link:focus {
  color: var(--lb-accent-hover);
  text-decoration: none;
}

.lb-creation-bead-table-image {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: none;
  vertical-align: middle;
}

.lb-creation-beads-table td {
  font-size: var(--lb-text-size-small);
  line-height: 1.35;
}

.lb-social-actions .uk-icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.lb-creation-disclaimer {
  margin-top: 3px;
  color: var(--lb-text-faint);
  font-size: 0.68rem;
  font-weight: var(--lb-text-weight-normal);
  line-height: 1.2;
}

.lb-home-disclaimer-icon {
  width: 15px;
  height: 15px;
}
.lb-disclaimer-inline {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  line-height: 1;
  vertical-align: -0.18em;
}

.lb-disclaimer-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lb-text-faint);
  cursor: pointer;
  vertical-align: text-bottom;
}

.lb-disclaimer-info-button:hover,
.lb-disclaimer-info-button:focus {
  color: var(--lb-text-soft);
  outline: none;
}

.lb-disclaimer-popover {
  width: min(280px, calc(100vw - 32px));
  z-index: 1200;
}

.lb-disclaimer-popover-inner {
  padding: 10px 12px;
  border: 1px solid var(--lb-border-soft);
  border-radius: var(--lb-radius-sm);
  background: var(--lb-surface);
  box-shadow: var(--lb-shadow-md);
  color: var(--lb-text-soft);
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}

/* Page-specific: templates/main/creation_detail.html */
.lb-theme .lb-creation-detail-title {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.14;
}

.lb-creation-related-heading {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .lb-creation-caption {
    margin-top: 0px;
    margin-bottom: 14px;
    padding: 0px 18px;
  }
}

/* --------------------------------
   14. Interactive Control Bar
   Shared by: templates/main/index.html, templates/main/assistant.html,
   and legacy builder variants
-------------------------------- */

.lb-bottom-controls-bar {
  width: 100%;
}

.lb-bottom-controls-bar .lb-controls-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 12px 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lb-control-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 10px 16px;
  box-sizing: border-box;
  min-width: 0;
}

.lb-control-label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--lb-text-size-xsmall);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.lb-control-body {
  min-height: 36px;
  display: flex;
  align-items: center;
  min-width: 0;
}

.lb-control-body-center {
  justify-content: center;
}

/* --------------------------------
   Group 1: charm + spacers
-------------------------------- */

.lb-control-group-dual {
  display: flex;
  align-items: center;
}

.lb-control-dual-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.lb-subcontrol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.lb-subcontrol .lb-control-body {
  justify-content: center;
}

/* switches */
.lb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--lb-accent);
  outline: none;
  transition: background-color 0.2s ease;
}

.lb-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 22px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  transition: left 0.2s ease;
}

.lb-switch:not(:checked) {
  background: #e5e7eb;
}

.lb-switch:not(:checked)::after {
  left: 2px;
}

/* --------------------------------
   Group 2: words
-------------------------------- */

.lb-control-group-words .lb-control-body {
  width: 100%;
}

.lb-words-input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--lb-border);
  border-radius: 999px;
  background: var(--lb-surface);
  padding: 0 14px;
  box-sizing: border-box;
  color: var(--lb-text);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  outline: none;
  text-align: center;
}

.lb-words-input::placeholder {
  color: var(--lb-text-faint);
  text-transform: none;
  letter-spacing: 0;
}

.lb-words-input:focus {
  border-color: #cbd5e1;
}

/* --------------------------------
   Group 3: size
-------------------------------- */

.lb-control-group-size > .lb-control-body {
  min-width: 0;
}

.lb-control-body-size {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 3px;
}

.lb-size-slider-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.lb-size-adjust-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lb-size-adjust-button:hover,
.lb-size-adjust-button:focus {
  color: inherit;
  outline: none;
}

.lb-size-adjust-icon {
  display: block;
}

.lb-size-current {
  padding-top: 6px;
}

.lb-size-current .size-inch {
  display: block;
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
}

.lb-size-slider {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  margin: 0 5px;
  border-radius: 999px;
  background: var(--lb-slider-track);
  outline: none;
}

.lb-size-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--lb-slider-thumb);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  cursor: pointer;
}

.lb-size-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--lb-slider-thumb);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  cursor: pointer;
}

.lb-size-slider::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--lb-slider-track);
}

/* size label + icon */
.lb-control-label-inline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
}

.lb-label-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.lb-label-icon-link:hover {
  color: var(--lb-text);
}

.lb-label-icon {
  display: block;
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

/* --------------------------------
   Group 4: CTA
-------------------------------- */

.lb-control-group-cta .lb-control-body {
  width: 100%;
}

.lb-theme .uk-button.lb-cart-pill {
  width: 100%;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  font-weight: var(--lb-text-weight-bold);
  font-size: var(--lb-text-size-default);
  white-space: nowrap;
}

/* --------------------------------
   UIKit @s = 640px
   2 rows, no group dividers
-------------------------------- */

@media (min-width: 640px) {
  .lb-bottom-controls-bar .lb-controls-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 24px;
  }

  .lb-control-group-size .lb-control-body-size {
    position: relative;
  }

  .lb-control-label-inline {
    justify-content: center;
  }

  .lb-size-current {
    text-align: center;
  }
}

/* --------------------------------
   UIKit @m = 960px
   1 row, large-screen dividers only
-------------------------------- */

@media (min-width: 960px) {
  .lb-bottom-controls-bar .lb-controls-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 999px;
  }

  .lb-control-group {
    min-height: 72px;
    padding: 0 16px;
  }

  .lb-control-group + .lb-control-group {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
  }

  .lb-control-dual-wrap {
    gap: 18px;
  }
}

/* --------------------------------
   Small screens
   labels inline on the left
-------------------------------- */

@media (max-width: 639px) {
  .lb-control-group:not(.lb-control-group-cta) {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: auto;
  }

  .lb-control-group:not(.lb-control-group-cta) > .lb-control-label {
    flex: 0 0 88px;
    margin-bottom: 0;
    text-align: left;
    white-space: nowrap;
  }

  .lb-control-group:not(.lb-control-group-cta) > .lb-control-body {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    justify-content: flex-end;
  }

  /* first group stays stacked internally */
  .lb-control-group-dual {
    display: block;
  }

  .lb-control-dual-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .lb-subcontrol {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }

  .lb-subcontrol .lb-control-label {
    margin-bottom: 0;
    text-align: left;
    white-space: nowrap;
  }

  .lb-subcontrol .lb-control-body {
    min-height: 24px;
    min-width: 0;
  }

  /* words */
  .lb-control-group-words .lb-control-body {
    width: auto;
    min-width: 0;
  }

  .lb-words-input {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .lb-control-group.lb-compose-size-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .lb-control-group.lb-compose-size-group > .lb-control-body {
    flex: 1 1 auto;
    min-width: 0;
    min-height: auto;
    justify-content: flex-start;
  }

  .lb-control-group.lb-compose-size-group .lb-control-body-size {
    gap: 2px;
  }

  .lb-control-group.lb-compose-size-group .lb-size-current {
    margin-bottom: 0 !important;
    padding-top: 0;
    text-align: center;
  }

  .lb-control-group.lb-compose-size-group .lb-size-slider {
    min-width: 0;
    margin: 0 5px;
  }
}

/* --------------------------------
   15. Purchase Block
-------------------------------- */

/* --------------------------------
   16. Site Footer
   Used by: templates/partials/base_footer.html
-------------------------------- */

.lb-site-footer {
  margin-top: 4rem;
  background-color: #f5f3f5 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.lb-footer-col h3 {
  margin: 0 0 12px;
  color: var(--lb-text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lb-footer-col a {
  color: var(--lb-text-muted);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lb-footer-col a:hover,
.lb-footer-col a:focus-visible {
  color: var(--lb-text);
  outline: none;
}

.lb-footer-bottom {
  padding: 18px 0 6px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.lb-footer-bottom p {
  margin: 0;
  color: var(--lb-text-soft);
  line-height: 1.5;
}

/* --------------------------------
   17. Global Responsive Overrides
   @s 640px
   @m 960px
   @l 1200px
-------------------------------- */

@media (max-width: 959px) {
  .lb-chip-strip {
    padding: 0;
  }

  .lb-chip-nav {
    display: none;
  }

  .lb-controls-row {
    gap: 16px 20px;
  }

  .lb-control-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .lb-cart-btn-strong {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 640px) {
  .lb-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .lb-brand-logo {
    width: 48px;
    height: 48px;
  }

  .lb-brand-name {
    font-size: 1.5rem;
  }

  .lb-input-optical {
    padding-bottom: 1px;
  }

  .lb-optical-text {
    top: -1px;
  }

  .lb-prompt-input {
    height: 72px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .lb-stone-wrap {
    background: #ffffff;
    border-left: 1px solid var(--lb-border);
  }

  .lb-stone-select {
    height: 72px;
    padding-left: 16px;
    padding-right: 36px;
    color: #1e293b;
  }

  .lb-stone-chevron {
    color: var(--lb-text-soft);
  }

  .lb-footer-col h3 {
    margin-bottom: 14px;
  }

  .lb-footer-bottom {
    padding: 20px 0 10px;
  }
}

@media (min-width: 960px) {
  .lb-nav-desktop {
    display: block;
  }
}

@media (min-width: 1200px) {
  .lb-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* --------------------------------
   18. Lucid Compose Page
-------------------------------- */
/* Ensure active tab stays accent even when focused/active/hovered */
.lb-theme .uk-subnav-pill > .uk-active > a,
.lb-theme .uk-subnav-pill > .uk-active > a:hover,
.lb-theme .uk-subnav-pill > .uk-active > a:focus,
.lb-theme .uk-subnav-pill > .uk-active > a:active,
.lb-theme .uk-subnav-pill > .uk-active > a:focus-visible {
  background: var(--lb-accent) !important;
  color: #fff !important;
  border-color: var(--lb-accent) !important;
  text-decoration: none;
}

#customization-switcher,
.lb-compose-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 0 10px;
  overflow: visible;
}

#customization-switcher > *,
.lb-compose-switcher > * {
  margin: 0;
  padding: 0;
  flex: 0 0 96px;   /* equal width */
  max-width: 96px;
}

#customization-switcher > li > a,
.lb-compose-switcher > li > a {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;   /* keeps side padding */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--lb-border-strong);
  border-radius: var(--lb-radius-pill);
  background: var(--lb-surface);
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-emphasis);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

#customization-switcher > li > a:hover,
#customization-switcher > li > a:focus,
.lb-compose-switcher > li > a:hover,
.lb-compose-switcher > li > a:focus {
  background: var(--lb-surface-soft);
  color: var(--lb-text);
  border-color: var(--lb-border-strong);
  text-decoration: none;
}

#customization-switcher > .uk-active > a,
#customization-switcher > .uk-active > a:hover,
#customization-switcher > .uk-active > a:focus,
#customization-switcher > .uk-active > a:active,
.lb-compose-switcher > .uk-active > a,
.lb-compose-switcher > .uk-active > a:hover,
.lb-compose-switcher > .uk-active > a:focus,
.lb-compose-switcher > .uk-active > a:active {
  background: var(--lb-accent);
  border-color: var(--lb-accent);
  color: #fff;
  font-weight: var(--lb-text-weight-emphasis);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--lb-accent) 18%, transparent);
}

#bead-list-modal .lb-compose-switcher > li:not(.uk-active) > a {
  color: var(--lb-text-soft);
  opacity: 1;
}

.lb-custom-charm-wrap {
  padding: 22px 18px 24px;
  border: 1px solid var(--lb-border-soft);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lb-accent) 5%, #fff) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
}

.lb-custom-charm-mode-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: center;
  margin: 14px auto 18px !important;
  padding: 4px;
  gap: 4px;
  list-style: none;
  padding-inline-start: 0 !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  border: 1px solid var(--lb-border-strong);
  border-radius: var(--lb-radius-pill);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.lb-custom-charm-mode-switcher > li {
  margin: 0 !important;
  padding: 0 !important;
}

.uk-subnav.lb-custom-charm-mode-switcher {
  margin-left: auto !important;
}

.lb-custom-charm-mode-switcher > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  min-height: 24px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--lb-radius-pill);
  background: transparent;
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lb-custom-charm-mode-switcher > li > a:hover,
.lb-custom-charm-mode-switcher > li > a:focus-visible {
  color: var(--lb-text);
  border-color: transparent;
  text-decoration: none;
}

.lb-theme .lb-custom-charm-mode-switcher > .uk-active > a,
.lb-theme .lb-custom-charm-mode-switcher > .uk-active > a:hover,
.lb-theme .lb-custom-charm-mode-switcher > .uk-active > a:focus,
.lb-theme .lb-custom-charm-mode-switcher > .uk-active > a:active,
.lb-theme .lb-custom-charm-mode-switcher > .uk-active > a:focus-visible {
  background: color-mix(in srgb, var(--lb-accent) 12%, #fff) !important;
  color: var(--lb-accent) !important;
  border-color: color-mix(in srgb, var(--lb-accent) 18%, transparent) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lb-custom-charm-mode-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  padding-right: 2px;
}

.lb-custom-charm-switcher {
  margin: 0;
}

.lb-custom-charm-text-wrap {
  display: flex;
  justify-content: center;
}

.lb-custom-charm-textarea {
  font-family: Inconsolata, monospace;
  font-size: 16px;
}

.lb-custom-charm-thumbnail {
  width: auto;
  height: 80px;
}

.lb-custom-charm-image-note {
  color: var(--lb-text-soft);
  line-height: 1.5;
}

.lb-gemstone-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  color: inherit;
  text-decoration: none;
}

.lb-gemstone-page-link:hover,
.lb-gemstone-page-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.lb-gemstone-page-link-icon {
  width: 16px;
  height: 16px;
  color: var(--lb-text-soft);
}

.lb-gemstone-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.lb-gemstone-card:hover,
.lb-gemstone-card:focus-visible {
  color: inherit;
  text-decoration: none;
}

.lb-gemstone-card-media {
  background: var(--lb-surface-soft);
}

.lb-gemstone-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.lb-gemstone-card-body {
  padding: 12px 10px;
  text-align: center;
  border-top: 1px solid var(--lb-border-soft);
}

.lb-theme .lb-gemstone-card .lb-gemstone-card-title {
  margin: 0;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1;
  color: var(--lb-text-muted);
}

.lb-gemstone-property-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-gemstone-property-chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  margin: 2px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-pill);
  background: #ffffff;
  color: var(--lb-text-muted);
  font: inherit;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lb-creation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.lb-creation-card-media {
  background: var(--lb-surface-soft);
}

.lb-creation-card .uk-slideshow,
.lb-creation-card .uk-slideshow-items {
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.lb-creation-card .uk-slideshow-items {
  margin: 0;
  padding: 0;
  background: var(--lb-surface-soft);
}

.lb-creation-card .uk-slideshow-items > li > a,
.lb-creation-card .uk-slideshow-items picture,
.lb-creation-card .uk-slideshow-items img {
  display: block;
  width: 100%;
}

.lb-creation-card-body {
  padding: 12px 10px;
  text-align: center;
}

.lb-creation-card-footer {
  padding: 12px 12px;
  text-align: center;
  background: color-mix(in srgb, var(--lb-surface) 75%, var(--lb-surface-muted));
  border-top: 1px solid var(--lb-border-soft);
}

.lb-theme .lb-creation-card .lb-creation-card-title {
  display: block;
  margin: 0;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
  line-height: 1.3;
  color: var(--lb-text-muted);
  text-decoration: none;
}

.lb-theme .lb-creation-card .lb-creation-card-title:hover,
.lb-theme .lb-creation-card .lb-creation-card-title:focus-visible {
  color: var(--lb-text-muted);
  text-decoration: none;
}

.lb-creation-card-creator-icon {
  width: 30px !important;
  height: 30px !important;
  stroke-width: 1px;
  color: var(--lb-text-faint);
}

.lb-creation-card-delete-icon {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 1.5px;
}

.lb-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--lb-text-soft);
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.lb-faq-list > li.uk-open .lb-faq-chevron {
  transform: rotate(180deg);
  color: var(--lb-text);
}

.lb-flatpage-content {
  color: var(--lb-text);
  line-height: 1.7;
}

.lb-flatpage-content a {
  color: var(--lb-text-muted);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.lb-flatpage-content a:hover,
.lb-flatpage-content a:focus-visible {
  color: var(--lb-text);
}

.lb-flatpage-content > :last-child {
  margin-bottom: 0;
}

.lb-calendar-day-countdown {
  border: 1px solid var(--lb-border-soft);
  box-shadow: var(--lb-shadow-sm);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--lb-radius-md);
}

.lb-store-title-wrap {
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--lb-radius-sm);
  padding: 3px 12px;
}

@media (max-width: 639px) {
  #customization-switcher,
  .lb-compose-switcher {
    gap: 10px;
    padding-bottom: 10px;
  }

  #customization-switcher > *,
  .lb-compose-switcher > * {
    flex: 0 0 96px;
    max-width: 96px;
  }
}

.lb-compose-switcher > * {
  flex: 0 0 132px;
  max-width: 132px;
}

.lb-compose-switcher + .uk-switcher {
  padding-top: 12px;
  border-top: 1px solid var(--lb-divider);
}

@media (max-width: 639px) {
  .lb-compose-switcher > * {
    flex: 0 0 132px;
    max-width: 132px;
  }
}

/* Page-specific: templates/partials/3d_panel_workspace.html */

.lb-workspace-state-card,
.lb-workspace-selected-card {
  padding: 18px 18px 20px;
  border-radius: var(--lb-radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--lb-shadow-sm);
}

.lb-workspace-state-card {
  border: 1px solid var(--lb-border);
}

.lb-workspace-selected-card {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.lb-workspace-state-card .lb-creation-description,
.lb-workspace-selected-card .lb-creation-description {
  max-width: 34ch;
  margin-right: auto;
  margin-left: auto;
}

.lb-workspace-selected-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-height: 60px;
  margin: 0 auto;
  border-radius: var(--lb-radius-lg);
  background: var(--lb-surface);
  box-shadow: var(--lb-shadow-md);
}

.lb-workspace-selected-media img {
  max-width: 100%;
  max-height: 100%;
}

.lb-workspace-action-grid {
  margin-top: 18px;
}

.lb-workspace-panel .lb-workspace-section-label {
  text-align: center;
}

/* Shopping cart page */
.lb-basket-quantity-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.lb-basket-quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lb-basket-qty-input {
  width: 52px;
  min-width: 52px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: var(--lb-text-size-small);
  font-weight: var(--lb-text-weight-bold);
}

.lb-basket-qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-pill);
  background: #ffffff;
  color: var(--lb-text);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lb-basket-qty-button:hover,
.lb-basket-qty-button:focus {
  border-color: var(--lb-border-strong);
  background: var(--lb-surface-soft);
  color: var(--lb-text);
  outline: none;
}

.lb-basket-qty-button i,
.lb-basket-qty-button svg {
  width: 16px;
  height: 16px;
}

.lb-basket-qty-button:disabled {
  border-color: var(--lb-border-soft);
  background: var(--lb-surface-soft);
  color: var(--lb-text-muted);
  cursor: not-allowed;
  opacity: 0.65;
}

.lb-basket-qty-button:disabled:hover,
.lb-basket-qty-button:disabled:focus {
  border-color: var(--lb-border-soft);
  background: var(--lb-surface-soft);
  color: var(--lb-text-muted);
}

.lb-cart-gemstone-chip {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: #ffffff;
  color: var(--lb-text-muted);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-normal);
  line-height: 1;
  white-space: nowrap;
}

/* Checkout page */
.lb-checkout-label {
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-emphasis);
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

/* --------------------------------
   19. Carried over from old css
-------------------------------- */
.non-responsive-img {
  max-width: none !important; /* Disable automatic scaling */
  width: auto !important;
  height: auto !important;
}

.premium-bead-tooltip {
	background-color: var(--lb-accent);
}

.bead-image-grid {
	cursor: pointer;
  border: 1px solid transparent;
}

.bead-image-grid:hover {
  transform: translateY(-1px);
  box-shadow: var(--lb-shadow-md);
}

.bead-image-grid.is-selected-bead {
  border-color: var(--lb-border-soft);
  box-shadow: var(--lb-shadow-md);
}

/* Studio page */
.lb-studio-card {
  overflow: hidden;
}

.lb-studio-card-header {
  padding: 24px 28px 18px;
}

.lb-studio-section-label {
  color: var(--lb-text-soft);
  font-size: var(--lb-text-size-xsmall);
  font-weight: var(--lb-text-weight-emphasis);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.lb-studio-filter-panel {
  display: grid;
  gap: 12px;
  padding: 0 28px 20px;
}

.lb-studio-category-button,
.lb-studio-filter-buttons .uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lb-studio-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lb-studio-filter-buttons .uk-inline {
  margin: 0;
}

.lb-studio-button-icon {
  width: 14px;
  height: 14px;
}

.lb-studio-bead-grid {
  max-height: 58vh;
  min-height: 320px;
  padding: 22px 24px 28px;
}

.lb-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.lb-studio-canvas-shell {
  padding: 0 28px 28px;
}

.lb-studio-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: var(--lb-radius-md);
  outline: none;
}

@media (max-width: 959px) {
  .lb-studio-card-header,
  .lb-studio-filter-panel,
  .lb-studio-canvas-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lb-studio-actions {
    justify-content: flex-start;
  }

  .lb-studio-bead-grid {
    max-height: 420px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
