/* Feature Modals & Pro Upgrade / Subscription UI */
/* ============================================================
   OWNER ADD/EDIT MENU ITEM MODAL (CLEAN ENTERPRISE LAYOUT)
   ============================================================ */

.owner-item-modal-card {
  max-width: 680px;
  width: 100%;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  max-height: 90vh;
  max-height: min(92dvh, 800px);
  overflow-y: auto;
  box-sizing: border-box;
}

.owner-item-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.owner-item-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.owner-item-modal-subtitle {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #64748b;
}

.owner-modal-circle-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.owner-modal-circle-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.owner-modal-body-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.owner-field-group {
  display: flex;
  flex-direction: column;
}

.owner-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
}

.owner-field-optional {
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.75rem;
  margin-left: 4px;
}

.owner-field-hint {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.45rem;
}

.owner-req-star {
  color: #ef4444;
  margin-left: 2px;
}

/* Account Role Card Selector */
.owner-role-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.35rem;
  width: 100%;
}

.owner-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  user-select: none;
  outline: none;
}

.owner-role-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.owner-role-card.active {
  border: 1.5px solid #2563eb;
  background: #f8faff;
  box-shadow: 0 0 0 1px #2563eb;
}

.owner-role-card:focus-visible {
  box-shadow: 0 0 0 2px #93c5fd, 0 0 0 1px #2563eb;
}

.owner-role-card-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.owner-role-card.active .owner-role-card-title {
  color: #0f172a;
}

.owner-role-card-desc {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.owner-role-card.active .owner-role-card-desc {
  color: #475569;
}

@media (max-width: 480px) {
  .owner-role-selector-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Form Inputs */
.owner-field-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.9rem;
  color: #0f172a;
  transition: all 0.15s ease;
  outline: none;
  box-sizing: border-box;
}

/* Universal Password Visibility Toggle */
.owner-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.owner-password-wrap input {
  width: 100%;
  padding-right: 2.75rem !important;
  box-sizing: border-box;
}

.owner-password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 2;
  outline: none;
}

.owner-password-toggle:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.owner-password-toggle:focus-visible {
  box-shadow: 0 0 0 2px #3b82f6;
}

.owner-password-toggle svg,
.owner-password-toggle .portal-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.owner-field-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.owner-field-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.25rem;
}

.owner-field-grid-2 > * {
  min-width: 0;
}

@media (max-width: 600px) {
  .owner-field-grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.owner-select-wrapper {
  position: relative;
  width: 100%;
}

.owner-field-select {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.owner-field-select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.owner-select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  font-size: 0.75rem;
}

/* Pricing Grid */
.owner-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.owner-price-grid > * {
  min-width: 0;
}

.owner-input-prefix-box {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.owner-input-prefix-box:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.owner-prefix-sign {
  background: #f8fafc;
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #64748b;
  border-right: 1px solid #e2e8f0;
}

.owner-prefix-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .owner-price-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
}

.owner-field-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  resize: vertical;
  min-height: 75px;
  font-family: inherit;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.owner-field-textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.owner-char-counter {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Photo Drag & Drop Zone */
.owner-drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.owner-drop-zone:hover {
  background: #fff7ed;
  border-color: #f97316;
}

.owner-drop-zone.is-dragover {
  background: #ffedd5;
  border-color: #ea580c;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
  transform: scale(1.005);
}

.owner-drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.owner-drop-zone-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea580c;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease;
}

.owner-drop-zone.is-dragover .owner-drop-zone-icon {
  transform: scale(1.12);
  color: #c2410c;
  border-color: #fdba74;
}

.owner-drop-zone-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.owner-drop-title-mobile,
.owner-drop-mobile-cta {
  display: none;
}

.owner-drop-browse-btn {
  color: #ea580c;
  font-weight: 700;
  text-decoration: underline;
}

.owner-drop-zone-hint {
  font-size: 0.74rem;
  color: #94a3b8;
  display: block;
}

@media (max-width: 640px), (hover: none) and (pointer: coarse) {
  .owner-drop-zone {
    padding: 0.78rem 0.9rem;
    text-align: left;
    justify-content: stretch;
    border-style: solid;
    border-width: 1.5px;
    border-color: #cbd5e1;
    background: #f8fafc;
  }

  .owner-drop-zone-content {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .owner-drop-zone-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .owner-drop-zone-text {
    flex: 1;
    min-width: 0;
  }

  .owner-drop-title-desktop {
    display: none;
  }

  .owner-drop-title-mobile {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
  }

  .owner-drop-zone-hint {
    font-size: 0.71rem;
    margin-top: 1px;
  }

  .owner-drop-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.42rem 0.78rem;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    font-size: 0.78rem;
    font-weight: 700;
  }
}

.owner-thumbnails-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.owner-thumb-preview-item {
  position: relative;
  width: 75px;
  height: 75px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.owner-thumb-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owner-thumb-cover-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.btn-remove-thumb {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.15s ease;
}

.btn-remove-thumb:hover {
  background: #ef4444;
}

.owner-images-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

/* Availability Row (Clean, integrated) */
.owner-availability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 0 0 0;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.25rem;
}

.owner-avail-label-wrap {
  min-width: 0;
}

.owner-availability-row .owner-switch {
  flex-shrink: 0;
}

.owner-avail-main-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.owner-avail-sub-title {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

/* Modal Footer Actions */
.owner-item-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

/* Add / Edit Menu Item Modal: Responsive Sticky Header & Footer System */
#modal-item .owner-item-modal-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  max-height: min(92dvh, 820px);
  padding: 0;
  overflow: hidden;
}

#modal-item .owner-item-modal-header {
  flex-shrink: 0;
  margin-bottom: 0;
  align-items: center;
  padding: 1.05rem 1.5rem 0.9rem;
  background: #ffffff;
}

#modal-item #form-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  gap: 0;
}

#modal-item .owner-modal-body-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem 1.5rem;
  gap: 1rem;
}

#modal-item .owner-field-textarea {
  min-height: 58px;
}

#modal-item .owner-availability-row {
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-top: 0.1rem;
}

#modal-item .owner-item-modal-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 0.85rem 1.5rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

#modal-item .owner-categories-dropdown-panel {
  max-height: min(210px, 34dvh);
}

@media (max-width: 720px) {
  #modal-item .owner-field-grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.95rem;
  }

  #modal-item .owner-item-modal-header {
    padding: 1.1rem 1.25rem 0.85rem;
  }

  #modal-item .owner-modal-body-content {
    padding: 1.05rem 1.25rem;
    gap: 0.95rem;
  }

  #modal-item .owner-item-modal-footer {
    padding: 0.85rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  #modal-item.owner-modal-overlay {
    padding: 0.5rem;
  }

  #modal-item .owner-item-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
    padding: 0;
  }

  #modal-item .owner-item-modal-header {
    padding: 1rem 1rem 0.8rem;
  }

  #modal-item .owner-modal-body-content {
    padding: 0.95rem 1rem;
    gap: 0.9rem;
  }

  #modal-item .owner-item-modal-footer {
    padding: 0.8rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  #modal-item.owner-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  #modal-item .owner-item-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }

  #modal-item .owner-item-modal-title {
    font-size: 1.1rem;
  }

  #modal-item .owner-item-modal-subtitle {
    font-size: 0.78rem;
  }

  #modal-item .owner-drop-zone {
    padding: 0.72rem 0.8rem;
  }

  #modal-item .owner-drop-zone-content {
    gap: 0.65rem;
  }

  #modal-item .owner-drop-title-mobile {
    font-size: 0.82rem;
  }

  #modal-item .owner-drop-zone-hint {
    font-size: 0.69rem;
  }

  #modal-item .owner-thumb-preview-item {
    width: 64px;
    height: 64px;
  }

  #modal-item .owner-item-modal-footer {
    flex-direction: row;
    gap: 0.6rem;
  }

  #modal-item .owner-item-modal-footer .owner-btn {
    min-height: 44px;
    justify-content: center;
  }

  #modal-item .owner-item-modal-footer [data-close-modal] {
    flex: 0.8;
    width: auto;
  }

  #modal-item .owner-item-modal-footer #btn-save-item {
    flex: 1.45;
    width: auto;
  }
}

@media (max-width: 350px) {
  #modal-item .owner-item-modal-footer {
    flex-direction: column-reverse;
  }

  #modal-item .owner-item-modal-footer .owner-btn {
    width: 100%;
    flex: none;
  }
}

@media (max-height: 620px) {
  #modal-item.owner-modal-overlay {
    padding: 0.35rem;
    align-items: center;
  }

  #modal-item .owner-item-modal-card {
    max-height: calc(100dvh - 0.7rem);
    border-radius: 12px;
  }

  #modal-item .owner-item-modal-header {
    padding: 0.75rem 1rem 0.65rem;
  }

  #modal-item .owner-modal-body-content {
    padding: 0.8rem 1rem;
    gap: 0.75rem;
  }

  #modal-item .owner-item-modal-footer {
    padding: 0.65rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ============================================================
   QR MODAL & MEMBER MODAL STYLES (RESPONSIVE)
   ============================================================ */
.owner-qr-modal-card {
  max-width: 460px;
}

.owner-qr-modal-body {
  padding: 1.5rem;
}

.owner-qr-modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ============================================================
   UPGRADE TO PRO MODAL (RESPONSIVE)
   ============================================================ */
/* ============================================================
   Modern SaaS Upgrade Plans Modal (Matching Clean Reference Design)
   ============================================================ */
.owner-upgrade-modal-card {
  max-width: 720px !important;
  width: 95vw;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
}

.owner-upgrade-v2-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  background: #ffffff;
}

.owner-upgrade-v2-title-col {
  flex: 1;
}

.owner-upgrade-v2-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.owner-upgrade-v2-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

.owner-v2-learn-link {
  color: #0f172a;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.owner-v2-learn-link:hover {
  color: #4f46e5;
}

.owner-upgrade-v2-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.owner-v2-cycle-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.owner-v2-save-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4338ca;
  white-space: nowrap;
}

.owner-v2-cycle-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 0.2rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.owner-v2-cycle-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.owner-v2-cycle-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.owner-v2-chevron {
  font-size: 0.65rem;
  margin-left: 0.15rem;
}

.owner-upgrade-v2-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.15s ease;
}

.owner-upgrade-v2-close:hover {
  color: #0f172a;
}

.owner-upgrade-v2-body {
  padding: 0.5rem 2rem 2rem 2rem;
  max-height: calc(88vh - 100px);
  max-height: calc(88dvh - 100px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 2-Tier Paid Cards Grid */
.owner-upgrade-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.owner-v2-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.owner-v2-card.pro.featured {
  border: 2px solid #4f46e5;
  box-shadow: 0 12px 30px -5px rgba(79, 70, 229, 0.15);
}

.owner-v2-card-head {
  margin-bottom: 1.25rem;
}

.owner-v2-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.owner-v2-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.owner-v2-pill-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.owner-v2-pill-badge.free {
  background: #f1f5f9;
  color: #64748b;
}

.owner-v2-pill-badge.pro {
  background: #4f46e5;
  color: #ffffff;
}

.owner-v2-pill-badge.teams {
  background: #f1f5f9;
  color: #475569;
}

.owner-v2-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
  min-height: 38px;
}

.owner-v2-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.owner-v2-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.35;
}

.owner-v2-features li.negative {
  color: #94a3b8;
}

.v2-bullet-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.v2-bullet-icon.cross {
  background: #fee2e2;
  color: #ef4444;
}

.v2-bullet-icon.check {
  background: #dcfce7;
  color: #16a34a;
}

.owner-v2-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.owner-v2-btn-current {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: not-allowed;
}

.owner-v2-btn-upgrade {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.owner-v2-btn-upgrade.pro {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.owner-v2-btn-upgrade.pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.owner-v2-btn-upgrade.teams {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.owner-v2-btn-upgrade.teams:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.v2-crown {
  font-size: 0.95rem;
}

/* STEP 2: Checkout / Confirmation Screen */
.owner-v2-back-link {
  background: none;
  border: none;
  color: #4f46e5;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.owner-v2-back-link:hover {
  text-decoration: underline;
}

.owner-v2-confirm-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem;
}

.owner-v2-confirm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.owner-v2-confirm-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #4338ca;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.owner-v2-confirm-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.25rem 0;
  letter-spacing: -0.02em;
}

.owner-v2-confirm-rate {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.owner-v2-activation-tag {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.owner-v2-form-row {
  margin-bottom: 1.25rem;
}

.owner-v2-input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0 0.9rem;
  font-size: 0.92rem;
  color: #0f172a;
  box-sizing: border-box;
}

.owner-v2-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.owner-v2-checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.owner-v2-checkout-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease;
}

.owner-v2-checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.owner-upgrade-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.owner-upgrade-form-hint {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 0.35rem;
  display: block;
  line-height: 1.4;
}

.owner-upgrade-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 860px) {
  .owner-upgrade-v2-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .owner-upgrade-v2-header {
    flex-direction: column;
    padding: 1.5rem 1.25rem 1rem 1.25rem;
    gap: 1rem;
  }
  .owner-upgrade-v2-controls {
    width: 100%;
    justify-content: space-between;
  }
  .owner-upgrade-v2-body {
    padding: 0.5rem 1.25rem 1.5rem 1.25rem;
  }
  .owner-upgrade-form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Plan Entitlement & Subscription Overview Card
   ========================================================================== */
.owner-sub-card {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 100%);
  border: 1px solid #e9d5ff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(124, 58, 237, 0.05);
}

.owner-sub-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.owner-sub-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}

.owner-sub-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.25);
  flex-shrink: 0;
}

.owner-sub-meta {
  min-width: 0;
  flex: 1;
}

.owner-sub-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.owner-sub-plan-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #581c87;
  line-height: 1.25;
}

.owner-sub-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: #e9d5ff;
  color: #6b21a8;
  white-space: nowrap;
}

.owner-sub-plan-desc {
  margin: 0.25rem 0 0 0;
  font-size: 0.84rem;
  color: #7e22ce;
  line-height: 1.4;
}

.owner-sub-card-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.owner-sub-usage-box {
  text-align: right;
}

.owner-sub-usage-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #9333ea;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.owner-sub-usage-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #581c87;
  white-space: nowrap;
}

.owner-btn-upgrade-pro {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 5px rgba(124, 58, 237, 0.3);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.owner-btn-upgrade-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}

@media (max-width: 860px) {
  .owner-sub-card-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .owner-sub-card-right {
    justify-content: space-between;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(124, 58, 237, 0.12);
  }
  .owner-sub-usage-box {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .owner-sub-card {
    padding: 0.95rem 0.85rem;
  }
  .owner-sub-card-left {
    gap: 0.75rem;
  }
  .owner-sub-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .owner-sub-plan-name {
    font-size: 1rem;
  }
  .owner-sub-plan-desc {
    font-size: 0.78rem;
  }
  .owner-sub-card-right {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .owner-sub-usage-box {
    text-align: center;
  }
  .owner-btn-upgrade-pro {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }
}

/* ============================================================
   CREATE ORDER POS MODAL (Loaded after components/responsive for clean cascade)
   ============================================================ */
.owner-pos-modal-card {
  width: min(940px, calc(100vw - 24px)) !important;
  max-width: 940px !important;
  height: min(680px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px) !important;
  padding: 0 !important;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
.owner-pos-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.owner-pos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.owner-pos-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}
.owner-pos-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.owner-pos-type-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.owner-pos-type-switch .owner-order-type-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.owner-pos-type-switch .owner-order-type-card:hover {
  color: #0f172a;
}
.owner-pos-type-switch .owner-order-type-card.is-active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}
.owner-pos-mobile-tabs {
  display: none;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}
.owner-pos-mobile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.owner-pos-mobile-tab.is-active {
  color: #0f172a;
  background: #ffffff;
  border-bottom-color: #0f172a;
}
.owner-pos-mobile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
}
.owner-pos-mobile-tab.is-active .owner-pos-mobile-badge {
  background: #0f172a;
  color: #ffffff;
}

.owner-pos-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 355px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.owner-pos-catalog-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}
.owner-pos-catalog-controls {
  padding: 0.85rem 1rem 0.65rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}
.owner-pos-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.owner-pos-search-icon {
  position: absolute;
  left: 0.75rem;
  color: #94a3b8;
  pointer-events: none;
}
.owner-pos-search-input {
  width: 100%;
  padding: 0.5rem 0.8rem 0.5rem 2.2rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.85rem;
  color: #0f172a;
  box-sizing: border-box;
}
.owner-pos-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0f172a;
}
.owner-pos-cat-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.owner-pos-cat-pills::-webkit-scrollbar {
  display: none;
}
.owner-pos-cat-pill {
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.owner-pos-cat-pill.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.owner-pos-menu-grid {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-content: start;
}
.owner-pos-dish-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.72rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.owner-pos-dish-card.in-cart {
  border-color: #0f172a;
  box-shadow: 0 0 0 1px #0f172a;
}
.owner-pos-dish-card.is-soldout {
  opacity: 0.5;
  background: #f8fafc;
}
.owner-pos-dish-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}
.owner-pos-dish-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.owner-pos-dish-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.owner-pos-dish-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: #334155;
}
.owner-pos-dish-add-btn {
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.owner-pos-dish-add-btn:hover:not(:disabled) {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.owner-pos-dish-add-btn:disabled {
  cursor: not-allowed;
  color: #94a3b8;
}
.owner-pos-dish-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #0f172a;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
}
.owner-pos-dish-stepper button {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
}
.owner-pos-dish-stepper span {
  min-width: 20px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
}

/* Right Ticket Pane */
.owner-pos-ticket-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #ffffff;
}
.owner-pos-target-box {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.owner-pos-target-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.owner-pos-target-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.owner-pos-target-head .owner-pos-target-label {
  margin-bottom: 0;
}
.owner-pos-target-hint {
  font-size: 0.71rem;
  color: #64748b;
  font-weight: 600;
}
.owner-pos-qr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-height: 76px;
  overflow-y: auto;
}
.owner-pos-qr-chip {
  padding: 0.3rem 0.65rem;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.owner-pos-qr-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.owner-pos-qr-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.owner-pos-sr-select {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  font-size: 0.8rem;
  color: #0f172a;
  display: none;
}
.owner-pos-input,
.owner-pos-note-input {
  width: 100%;
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.82rem;
  color: #0f172a;
  box-sizing: border-box;
}
.owner-pos-input:focus,
.owner-pos-note-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0f172a;
}

.owner-pos-cart-section {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 0.5rem;
}
.owner-pos-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.owner-pos-cart-head-right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.owner-pos-clear-btn {
  border: none;
  background: transparent;
  color: #dc2626;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
}
.owner-pos-cart-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.owner-pos-cart-empty {
  padding: 2rem 0.75rem;
  text-align: center;
  font-size: 0.79rem;
  color: #94a3b8;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
}
.owner-pos-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
}
.owner-pos-cart-info {
  min-width: 0;
  flex: 1 1 auto;
}
.owner-pos-cart-name {
  font-size: 0.81rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.owner-pos-cart-line-total {
  font-size: 0.73rem;
  font-weight: 700;
  color: #64748b;
}
.owner-pos-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.owner-pos-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}
.owner-pos-qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 0.79rem;
  font-weight: 800;
  color: #0f172a;
}

.owner-pos-summary-footer {
  padding: 0.7rem 1rem 0.9rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}
.owner-pos-totals {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.owner-pos-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}
.owner-pos-total-row.is-grand {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  padding-top: 0.25rem;
  border-top: 1px dashed #cbd5e1;
}
.owner-pos-submit-btn {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  font-weight: 700;
}
.owner-pos-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .owner-pos-overlay {
    padding: 0 !important;
  }
  .owner-pos-modal-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .owner-pos-header {
    padding: 0.75rem 0.95rem;
  }
  .owner-pos-mobile-tabs {
    display: grid;
  }
  .owner-pos-workspace {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }
  .owner-pos-workspace[data-active-pane="catalog"] .owner-pos-ticket-pane {
    display: none;
  }
  .owner-pos-workspace[data-active-pane="ticket"] .owner-pos-catalog-pane {
    display: none;
  }
  .owner-pos-catalog-pane,
  .owner-pos-ticket-pane {
    flex: 1 1 auto;
    border-right: none;
  }
  .owner-pos-menu-grid {
    grid-template-columns: 1fr;
    padding: 0.75rem 0.9rem;
  }
  .owner-pos-workspace[data-active-pane="catalog"] + .owner-pos-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
  }
  .owner-pos-mobile-bar-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: #64748b;
  }
  .owner-pos-mobile-bar-meta strong {
    font-size: 0.96rem;
    color: #0f172a;
    font-weight: 800;
  }
  .owner-pos-mobile-review-btn {
    min-height: 40px;
    padding: 0.5rem 1rem;
  }
}

