
  .spinner-overlay.svelte-nfip4v {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dim background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none; /* Let clicks pass through if needed, or 'auto' to block */
  }
  .spinner.svelte-nfip4v {
    width: 40px; height: 40px;
    border: 4px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: svelte-nfip4v-spin 1s linear infinite;
  }
  @keyframes svelte-nfip4v-spin { to { transform: rotate(360deg); } }


  .form-card.svelte-7zgxvb {
    width: 88%;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.08),
      0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform-origin: top center;
  }

  .form-header.svelte-7zgxvb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
  }

  .header-icon.svelte-7zgxvb {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
  }

  .header-title.svelte-7zgxvb {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
  }

  /* Location chips */
  .location-chips.svelte-7zgxvb {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
  }

  .loc-chip.svelte-7zgxvb {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 500;
    background: #e0e7ff;
    color: #3730a3;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chip-icon.svelte-7zgxvb {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .loc-arrow.svelte-7zgxvb {
    font-size: 10px;
    color: #94a3b8;
  }

  .loc-badge.svelte-7zgxvb {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 9999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
  }

  /* Form rows */
  .form-row.svelte-7zgxvb {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .form-row-pair.svelte-7zgxvb {
    flex-direction: row;
    gap: 8px;
  }

  .form-row-pair.svelte-7zgxvb > .field:where(.svelte-7zgxvb) {
    flex: 1;
  }

  /* Fields */
  .field.svelte-7zgxvb {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  /* Label row with icon + text + info button */
  .field-label-row.svelte-7zgxvb {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .label-icon.svelte-7zgxvb {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* (unused) .field-value {
    font-weight: 700;
    color: #334155;
    text-transform: none;
    letter-spacing: 0;
    margin-left: auto;
  }*/

  /* Info button + tooltip */
  .info-btn.svelte-7zgxvb {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: help;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.15s;
  }

  .info-btn.svelte-7zgxvb:hover,
  .info-btn.svelte-7zgxvb:focus {
    color: #3b82f6;
  }

  .info-btn.svelte-7zgxvb svg:where(.svelte-7zgxvb) {
    width: 13px;
    height: 13px;
  }

  .tooltip.svelte-7zgxvb {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    padding: 5px 8px;
    border-radius: 6px;
    white-space: pre-line;
    width: 200px;
    z-index: 50;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: svelte-7zgxvb-tooltip-in 0.15s ease-out;
  }

  .tooltip.svelte-7zgxvb::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1e293b;
  }

  @keyframes svelte-7zgxvb-tooltip-in {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .field-input.svelte-7zgxvb {
    padding: 4px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    background: white;
    color: #334155;
    outline: none;
  }

  .field-input.svelte-7zgxvb:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
  }

  /* Textarea for other preferences */
  .field-textarea.svelte-7zgxvb {
    padding: 4px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    background: white;
    color: #334155;
    outline: none;
    resize: none;
    width: 100%;
    height: 78px; /* 5 lines at 11px font + padding */
    overflow-y: auto;
    scrollbar-width: thin;
    font-family: inherit;
    line-height: 1.4;
  }

  .field-textarea.svelte-7zgxvb:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
  }

  .field-textarea.svelte-7zgxvb::placeholder {
    color: #94a3b8;
  }

  .field-textarea.svelte-7zgxvb::-webkit-scrollbar {
    width: 4px;
  }

  .field-textarea.svelte-7zgxvb::-webkit-scrollbar-track {
    background: transparent;
  }

  .field-textarea.svelte-7zgxvb::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }

  /* Range slider */
  .range-wrapper.svelte-7zgxvb {
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
  }

  .range-thumb-value.svelte-7zgxvb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
  }

  .field-range.svelte-7zgxvb {
    width: 100%;
    height: 4px;
    appearance: none;
    background: linear-gradient(
      to right,
      #3b82f6 var(--val),
      #e2e8f0 var(--val)
    );
    border-radius: 2px;
    outline: none;
    margin: 0;
  }

  .field-range.svelte-7zgxvb::-webkit-slider-thumb {
    appearance: none;
    width: 36px;
    height: 24px;
    border-radius: 4px;
    background: #3b82f6;
    cursor: pointer;
    border: 1px solid #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition:
      transform 0.1s,
      box-shadow 0.1s,
      background 0.1s;
  }

  .field-range.svelte-7zgxvb::-moz-range-thumb {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    background: #3b82f6;
    cursor: pointer;
    border: 1px solid #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition:
      transform 0.1s,
      box-shadow 0.1s,
      background 0.1s;
  }

  .field-range.svelte-7zgxvb::-webkit-slider-thumb:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  }

  .field-range.svelte-7zgxvb::-webkit-slider-thumb:active {
    background: #1d4ed8;
    transform: scale(0.95);
  }

  .field-range.svelte-7zgxvb::-moz-range-thumb:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  }

  .field-range.svelte-7zgxvb::-moz-range-thumb:active {
    background: #1d4ed8;
    transform: scale(0.95);
  }

  .range-labels.svelte-7zgxvb {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: -6px;
  }

  /* Kid ages */
  /* (unused) .add-kid-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #334155;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.15s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }*/

  /* (unused) .add-kid-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
  }*/

  /* (unused) .add-kid-btn:active {
    background: #f1f5f9;
    transform: translateY(1px);
  }*/

  /* (unused) .add-kid-btn svg {
    width: 10px;
    height: 10px;
    color: #3b82f6;
  }*/

  /* (unused) .kid-ages {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
  }*/

  /* (unused) .kid-chip {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition:
      border-color 0.2s,
      box-shadow 0.2s;
  }*/

  /* (unused) .kid-chip:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }*/

  /* (unused) .kid-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }*/

  /* (unused) .kid-age-select {
    appearance: none;
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 500;
    color: #334155;
    padding: 4px 20px 4px 8px;
    cursor: pointer;
    outline: none;
    min-width: 52px;
    text-align: left;
  }*/

  /* (unused) .kid-age-select:focus {
    color: #0f172a;
    background: #f1f5f9;
  }*/

  /* (unused) .kid-select-arrow {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    color: #94a3b8;
    pointer-events: none;
  }*/

  /* (unused) .kid-chip-divider {
    width: 1px;
    height: 14px;
    background: #e2e8f0;
  }*/

  /* (unused) .kid-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    align-self: stretch;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s;
  }*/

  /* (unused) .kid-remove:hover {
    background: #fee2e2;
    color: #ef4444;
  }*/

  /* (unused) .kid-remove svg {
    width: 8px;
    height: 8px;
  }*/

  /* (unused) .no-kids-label {
    font-size: 10px;
    color: #94a3b8;
    font-style: italic;
  }*/

  /* Toggle group */
  .toggle-group.svelte-7zgxvb {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
  }

  .toggle-btn.svelte-7zgxvb {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
  }

  .toggle-btn.svelte-7zgxvb:hover {
    border-color: #93c5fd;
    background: #f8fafc;
  }

  .toggle-btn.active.svelte-7zgxvb {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
  }

  .opt-icon.svelte-7zgxvb {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .toggle-btn.active.svelte-7zgxvb .opt-icon:where(.svelte-7zgxvb) {
    filter: none;
  }

  .opt-icon-svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .toggle-btn.active.svelte-7zgxvb .opt-icon-svg {
    color: white;
  }

  /* Stepper */
  .stepper.svelte-7zgxvb {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    overflow: hidden;
    width: fit-content;
  }

  .stepper-btn.svelte-7zgxvb {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
  }

  .stepper-btn.svelte-7zgxvb:hover:not(:disabled) {
    background: #f1f5f9;
  }

  .stepper-btn.svelte-7zgxvb:disabled {
    color: #cbd5e1;
    cursor: default;
  }

  .stepper-val.svelte-7zgxvb {
    min-width: 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
  }

  /* Submit button */
  .submit-btn.svelte-7zgxvb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 7px 0;
    border-radius: 8px;
    border: none;
    background: #3b82f6;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 2px;
  }

  .submit-btn.svelte-7zgxvb:hover {
    background: #2563eb;
  }

  .submit-btn.svelte-7zgxvb svg:where(.svelte-7zgxvb) {
    width: 14px;
    height: 14px;
  }

  /* Collapsed summary view */
  .collapsed-card.svelte-7zgxvb {
    padding: 8px 12px;
  }
  .collapsed-header.svelte-7zgxvb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
  }
  .collapsed-icon.svelte-7zgxvb {
    width: 14px;
    height: 14px;
    color: #1976d2;
    flex-shrink: 0;
  }
  .collapsed-title.svelte-7zgxvb {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    flex: 1;
  }
  .collapsed-edit-btn.svelte-7zgxvb {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
  }
  .collapsed-edit-btn.svelte-7zgxvb:hover {
    background: #e3f2fd;
  }
  .collapsed-chips.svelte-7zgxvb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .collapsed-chip.svelte-7zgxvb {
    background: #f0f4f8;
    color: #555;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
  }


  .widget-pill.svelte-p01qlr {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.2;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
  }

  .widget-pill.svelte-p01qlr > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .widget-pill.svelte-p01qlr svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6b7280;
  }

  .widget-icon-img.svelte-p01qlr {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .widget-action.svelte-p01qlr {
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
  }

  .widget-action.svelte-p01qlr:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
  }

  .widget-success.svelte-p01qlr {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
  }

  .widget-success.svelte-p01qlr svg {
    color: #16a34a;
  }

  /* (unused) .widget-muted {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
  }*/

  /* (unused) .widget-muted :global(svg) {
    color: #dc2626;
  }*/

  .widget-mat-icon.svelte-p01qlr {
    font-size: 16px;
    flex-shrink: 0;
    color: #6b7280;
  }

  .widget-pill-multiline.svelte-p01qlr {
    max-width: 260px;
  }

  .widget-pill-multiline.svelte-p01qlr svg {
    width: 20px;
    height: 20px;
  }

  .widget-pill-multiline.svelte-p01qlr .widget-icon-img:where(.svelte-p01qlr) {
    width: 22px;
    height: 22px;
  }

  .widget-pill-lines.svelte-p01qlr {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 1.3;
    text-align: left;
  }

  .widget-pill-lines.svelte-p01qlr > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .widget-pill-subtitle.svelte-p01qlr {
    font-size: 10px;
    color: #9ca3af;
  }

  .widget-loc-num.svelte-p01qlr {
    font-size: 1em;
    font-weight: 600;
    color: #6b7280;
    margin-right: -2px;
    flex-shrink: 0;
  }

  .widget-loc-glow.svelte-p01qlr {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F59E0B;
    box-shadow: 0 0 4px 1px rgba(245, 158, 11, 0.6);
    flex-shrink: 0;
    margin-right: -1px;
  }

  /* ── Itinerary Summary Card ── */
  /* (unused) .summary-card {
    width: 88%;
    border-radius: 12px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 60%, #f0f4ff 100%);
    border: 1px solid #d1e7dd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }*/

  /* (unused) .summary-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: wrap;
  }*/

  /* (unused) .summary-check {
    width: 13px;
    height: 13px;
    color: #10b981;
    flex-shrink: 0;
  }*/

  /* (unused) .summary-title {
    font-size: 11px;
    font-weight: 600;
    color: #166534;
  }*/

  /* (unused) .summary-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }*/

  /* (unused) .summary-stat {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 600;
    color: #475569;
  }*/

  /* (unused) .summary-stat :global(svg) {
    width: 11px;
    height: 11px;
    color: #64748b;
  }*/

  /* (unused) .summary-days {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }*/

  /* (unused) .summary-day {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 9999px;
    font-size: 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
  }*/

  /* (unused) .sday-num {
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
  }*/

  /* (unused) .sday-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    object-fit: contain;
  }*/

  /* (unused) .sday-haven {
    color: #64748b;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }*/

  /* ── Product Cards: Single (horizontal) ── */
  .product-card-single.svelte-p01qlr {
    display: flex;
    flex-direction: row;
    max-width: 260px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: left;
  }

  .product-card-single.svelte-p01qlr:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.10);
  }

  .product-single-img.svelte-p01qlr {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
    border-radius: 9px 0 0 9px;
  }

  .product-single-placeholder.svelte-p01qlr {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 9px 0 0 9px;
  }

  .product-single-placeholder.svelte-p01qlr svg {
    width: 24px;
    height: 24px;
    color: #d1d5db;
  }

  /* ── Product Cards: Multi (scrollable) ── */
  .product-cards-scroll.svelte-p01qlr {
    position: relative;
    max-width: 88%;
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent);
  }

  .product-cards-track.svelte-p01qlr {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
  }

  .product-cards-track.svelte-p01qlr::-webkit-scrollbar {
    height: 3px;
  }

  .product-cards-track.svelte-p01qlr::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
  }

  .product-card.svelte-p01qlr {
    flex-shrink: 0;
    width: 112px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: left;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
  }

  .product-card.svelte-p01qlr:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.10);
  }

  .product-card-img.svelte-p01qlr {
    width: 100%;
    height: 72px;
    object-fit: cover;
    background: #f3f4f6;
  }

  .product-card-placeholder.svelte-p01qlr {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
  }

  .product-card-placeholder.svelte-p01qlr svg {
    width: 24px;
    height: 24px;
    color: #d1d5db;
  }

  /* ── Shared product card parts ── */
  .product-card-body.svelte-p01qlr {
    padding: 5px 7px 6px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-height: 0;
  }

  .product-card-title.svelte-p01qlr {
    font-size: 10.5px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-desc.svelte-p01qlr {
    font-size: 9.5px;
    color: #6b7280;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-price.svelte-p01qlr {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    margin-top: 2px;
  }

  .product-card-per.svelte-p01qlr {
    font-size: 9px;
    font-weight: 400;
    color: #9ca3af;
  }


  .ap-card.svelte-x2p3uz {
    width: 88%;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.08),
      0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ap-header.svelte-x2p3uz {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ap-header-icon.svelte-x2p3uz {
    font-size: 18px;
    color: #1976d2;
  }
  .ap-header-title.svelte-x2p3uz {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex: 1;
  }
  .ap-header-btn.svelte-x2p3uz {
    background: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #666;
    font-size: 10px;
    cursor: pointer;
    padding: 1px 8px;
  }
  .ap-header-btn.svelte-x2p3uz:hover:not(:disabled) {
    background: #f0f0f0;
  }
  .ap-header-btn.svelte-x2p3uz:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .ap-bottom-buttons.svelte-x2p3uz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .ap-surprise-link.svelte-x2p3uz {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
  }
  .ap-surprise-link.svelte-x2p3uz:hover {
    text-decoration: underline;
  }
  .ap-categories.svelte-x2p3uz {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .ap-category.svelte-x2p3uz {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .ap-cat-label.svelte-x2p3uz {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .ap-tags.svelte-x2p3uz {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .ap-tag.svelte-x2p3uz {
    padding: 4px 12px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 12px;
    cursor: pointer;
    color: #444;
  }
  .ap-tag.svelte-x2p3uz:hover:not(:disabled) {
    border-color: #90caf9;
    background: #e3f2fd;
  }
  .ap-tag.svelte-x2p3uz:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .ap-tag.selected.svelte-x2p3uz {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
  }
  .ap-submit-btn.svelte-x2p3uz {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #1976d2;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
  }
  .ap-submit-btn.svelte-x2p3uz:hover {
    background: #1565c0;
  }
  .ap-status.svelte-x2p3uz {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 8px;
  }
  .ap-kids.svelte-x2p3uz {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .ap-kid-row.svelte-x2p3uz {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ap-kid-slider.svelte-x2p3uz {
    flex: 1;
    height: 4px;
  }
  .ap-kid-age.svelte-x2p3uz {
    font-size: 12px;
    color: #333;
    min-width: 16px;
    text-align: center;
  }
  .ap-kid-remove.svelte-x2p3uz {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
  }
  .ap-kid-add.svelte-x2p3uz {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 0;
    text-align: left;
  }

  /* Collapsed state */
  .ap-collapsed.svelte-x2p3uz {
    padding: 8px 12px;
    gap: 6px;
  }
  .ap-collapsed-header.svelte-x2p3uz {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ap-collapsed-icon.svelte-x2p3uz {
    font-size: 14px;
    color: #1976d2;
  }
  .ap-collapsed-title.svelte-x2p3uz {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    flex: 1;
  }
  .ap-collapsed-edit.svelte-x2p3uz {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
  }
  .ap-collapsed-edit.svelte-x2p3uz:hover {
    background: #e3f2fd;
  }
  .ap-collapsed-chips.svelte-x2p3uz {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .ap-collapsed-chip.svelte-x2p3uz {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    text-transform: capitalize;
  }


  .route-buttons-bar.svelte-kh8m82 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0;
  }
  .route-select-btn.svelte-kh8m82 {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1.5px solid #1976d2;
    background: white;
    color: #1976d2;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
  }
  .route-select-btn.svelte-kh8m82:hover {
    background: #e3f2fd;
  }
  .route-select-btn.selected.svelte-kh8m82 {
    background: #1976d2;
    color: white;
  }

  @keyframes svelte-kh8m82-blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  .greeting-cursor.svelte-kh8m82 {
    animation: svelte-kh8m82-blink-cursor 0.7s step-end infinite;
    font-weight: 300;
    color: #9ca3af;
    margin-left: 1px;
  }
  @keyframes svelte-kh8m82-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .msg-in.svelte-kh8m82 {
    animation: svelte-kh8m82-msg-in 0.2s ease-out;
  }
  .chat-markdown.svelte-kh8m82 .markdown-body {
    font-size: inherit;
  }
  .chat-markdown.svelte-kh8m82 p {
    margin: 0.25em 0;
  }
  .chat-markdown.svelte-kh8m82 p:first-child {
    margin-top: 0;
  }
  .chat-markdown.svelte-kh8m82 p:last-child {
    margin-bottom: 0;
  }
  .chat-markdown.svelte-kh8m82 ul,
  .chat-markdown.svelte-kh8m82 ol {
    margin: 0.25em 0;
    padding-left: 1.2em;
  }
  .chat-markdown.svelte-kh8m82 li {
    margin: 0.1em 0;
  }
  .chat-markdown.svelte-kh8m82 code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-size: 0.9em;
  }
  .chat-markdown.svelte-kh8m82 pre {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.5em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0.25em 0;
  }
  .chat-markdown.svelte-kh8m82 pre code {
    background: none;
    padding: 0;
  }
  .chat-markdown.svelte-kh8m82 a {
    color: inherit;
    text-decoration: underline;
  }
  .chat-markdown.svelte-kh8m82 strong {
    font-weight: 600;
  }

  /* ─── Inline location chips ─── */
  .chat-markdown.svelte-kh8m82 .inline-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 4px;
    border-radius: 7px;
    font-size: 0.9em;
    line-height: inherit;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    cursor: pointer;
    vertical-align: baseline;
    transition: background-color 0.15s, border-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
    margin: 2px 0 0;
  }
  .chat-markdown.svelte-kh8m82 .inline-location-chip:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
  }
  .chat-markdown.svelte-kh8m82 .iloc-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
  }

  /* ─── Tool spinner ─── */
  .tool-spinner.svelte-kh8m82 {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .tool-spinner-ring.svelte-kh8m82 {
    position: absolute;
    inset: 0;
    border: 2px solid #e5e7eb;
    border-top-color: #6b7280;
    border-radius: 50%;
    animation: svelte-kh8m82-tool-spin 0.8s linear infinite;
  }
  .tool-spinner-icon.svelte-kh8m82 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
  }
  .tool-spinner-icon.svelte-kh8m82 svg {
    width: 14px;
    height: 14px;
  }
  @keyframes svelte-kh8m82-tool-spin {
    to { transform: rotate(360deg); }
  }

  /* ─── Show more / collapse ─── */
  .msg-collapsed.svelte-kh8m82 {
    max-height: 120px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }
  .show-more-btn.svelte-kh8m82 {
    margin-top: 2px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .show-more-btn.svelte-kh8m82:hover { color: #374151; }


  /* Smooth shape transition for the pill (border-radius + transform) */
  .pill-container.svelte-12gboxw {
    transition: border-radius 500ms ease, transform 150ms ease;
  }

  /* Smooth width expansion for the middle section */
  .pill-middle.svelte-12gboxw {
    transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Text input fade-in after the expansion starts */
  @keyframes svelte-12gboxw-text-reveal {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .animate-text-reveal.svelte-12gboxw {
    animation: svelte-12gboxw-text-reveal 200ms ease-out 120ms both;
  }

  /* Styled thin scrollbar for textarea overflow */
  .chat-textarea.svelte-12gboxw {
    overflow-y: auto;
    transition: height 200ms ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
  }
  .chat-textarea.svelte-12gboxw::-webkit-scrollbar {
    width: 4px;
  }
  .chat-textarea.svelte-12gboxw::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
  }

  /* Smooth background-color transition on the right button */
  .pill-right-btn.svelte-12gboxw {
    transition: background-color 400ms ease, transform 150ms ease, opacity 400ms ease;
  }

  /* The path morph transition logic */
  .path-morph.svelte-12gboxw {
    transition: d 700ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }


  .provider-select.svelte-1b2shkz {
    appearance: none;
    -webkit-appearance: none;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 1px 18px 1px 6px;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #6b7280;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 20 20'%3E%3Cpath fill='%236b7280' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px;
    transition: border-color 0.15s;
  }
  .provider-select.svelte-1b2shkz:hover {
    border-color: #d1d5db;
  }
  .provider-select.svelte-1b2shkz:focus {
    border-color: #9ca3af;
  }


  /* Hide scrollbar but keep scrolling */
  .max-h-52.svelte-qvkp95, .max-h-80.svelte-qvkp95 {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
  }
  .max-h-52.svelte-qvkp95::-webkit-scrollbar,
  .max-h-80.svelte-qvkp95::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
  }

  /* Fade top edge only when there is content scrolled above */
  .messages-fade-top.svelte-qvkp95 {
    mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
  }
  /* Fade bottom edge only when there is content scrolled below */
  .messages-fade-bottom.svelte-qvkp95 {
    mask-image: linear-gradient(to top, transparent 0%, black 28%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 28%);
  }

  /* Entrance/exit animation between the AI button and the bubble position */
  .bubble-at-origin.svelte-qvkp95 {
    transform: scale(0.15);
    opacity: 0;
    /* Exit transition: ease-in for a "sucked back" feel */
    transition:
      left 0.4s cubic-bezier(0.6, 0, 0.7, 0.2),
      top 0.4s cubic-bezier(0.6, 0, 0.7, 0.2),
      transform 0.4s cubic-bezier(0.6, 0, 0.7, 0.2),
      opacity 0.35s ease-in;
  }
  .bubble-at-target.svelte-qvkp95 {
    transform: scale(1);
    opacity: 1;
    /* Entrance transition: spring overshoot */
    transition:
      left 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
      top 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
      transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
      opacity 0.3s ease-out;
  }
  .bubble-dragging.svelte-qvkp95 {
    transform: scale(1);
    opacity: 1;
    transition: none;
  }
  /* Dock-to-sidebar animation: slide to the right edge and shrink */
  .bubble-dock-to-sidebar.svelte-qvkp95 {
    transform: scale(0.2);
    opacity: 0;
    transition:
      left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.35s ease-in;
  }

  /* ─── Mode switcher hover reveal ─── */
  .mode-switcher.svelte-qvkp95 {
    opacity: 0;
    transform: translateY(-8px) scale(0.85);
    pointer-events: none;
    transition:
      opacity 0.2s ease-in 0.3s,
      transform 0.2s ease-in 0.3s;
  }
  /* Show on parent group hover — drops down from above */
  .group:hover .mode-switcher.svelte-qvkp95 {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition:
      opacity 0.25s ease-out,
      transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  /* Staggered button pop-in */
  .mode-btn.svelte-qvkp95 {
    opacity: 0;
    transform: scale(0.5);
    transition:
      opacity 0.15s ease-in 0.3s,
      transform 0.15s ease-in 0.3s;
  }
  .group:hover .mode-btn.svelte-qvkp95 {
    opacity: 1;
    transform: scale(1);
    transition:
      opacity 0.2s ease-out var(--btn-delay),
      transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) var(--btn-delay);
  }

  /* ─── Styled tooltips ─── */
  .btn-tooltip.svelte-qvkp95 {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(2px);
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease-in, transform 0.15s ease-in;
  }
  /* Arrow */
  .btn-tooltip.svelte-qvkp95::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.9);
  }
  /* Show on button hover */
  .mode-btn.svelte-qvkp95:hover .btn-tooltip:where(.svelte-qvkp95) {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.2s ease-out 0.35s, transform 0.2s ease-out 0.35s;
  }


  /* ─── Sidebar button tooltips ─── */
  .sidebar-btn-tooltip.svelte-9hhnqb {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(2px);
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease-in, transform 0.15s ease-in;
    z-index: 10;
  }
  .sidebar-btn-tooltip.svelte-9hhnqb::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.9);
  }
  .sidebar-btn.svelte-9hhnqb:hover .sidebar-btn-tooltip:where(.svelte-9hhnqb) {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.2s ease-out 0.35s, transform 0.2s ease-out 0.35s;
  }


  .shopify-product-container.svelte-1okltrp {
    min-height: 200px;
    /* The Shopify SDK sets an inline max-width: 280px — override it */
    max-width: 100% !important;
  }

  /* Cart toggle and cart popup render globally via Shopify SDK —
     layer them ABOVE the chatbot sidebar (z-[1200]). */
  .shopify-buy-frame--toggle {
    z-index: 1249 !important;
  }
  .shopify-buy-frame--cart {
    z-index: 1250 !important;
  }


  .chatbot-highlight {
    background-color: rgba(250, 204, 21, 0.4);
    border-radius: 4px;
    transition: background-color 0.5s ease-out;
    animation: svelte-o5na36-chatbot-highlight-fade 4s ease-out forwards;
  }

  @keyframes svelte-o5na36-chatbot-highlight-fade {
    0% { background-color: rgba(250, 204, 21, 0.4); }
    70% { background-color: rgba(250, 204, 21, 0.4); }
    100% { background-color: transparent; }
  }


  .tippy-box[data-theme~='fm'] {
    background-color: var(--color-fm-red);
    color: white;
    border-radius: 4px;
    padding: 3px 9px;
  }
  
