.version-badge{position:fixed;right:1rem;bottom:0.75rem;font-size:12px;color:#6c757d}

/* v3.0.0: Product/Service type toggle in add modal */
.gs-type-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 8px;
  padding: 0.35rem 1rem;
  font-weight: 500;
  transition: all 0.15s;
}
.gs-type-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}
.gs-type-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

/* Landing page marketplace styles */
.gs-hero {
  background: radial-gradient(circle at top left, #4f46e5, #111827);
  color: #f9fafb;
  padding: 4rem 0 3rem;
}

/* Product modal header: keep share/close tidy on desktop while staying readable on mobile */
.gs-product-modal .gs-modal-title {
  flex: 1 1 auto;
  min-width: 0;
}
.gs-product-modal .gs-modal-actions {
  flex: 0 0 auto;
}
.gs-product-modal .gs-modal-actions .btn-close {
  margin-left: 0.25rem;
}

@media (min-width: 768px) {
  /* Desktop: show the full "Compartir" text so it can flip to "Copiado" after clicking. */
  .gs-product-modal .gs-share-label {
    display: inline;
  }
  .gs-product-modal .gs-share-icon {
    display: none;
  }
  .gs-product-modal .gs-share-product {
    padding: 0.25rem 0.5rem;
  }
}

/* v2.1.50: Mobile product modal — keep the primary CTA always reachable.
   We keep the exact same button styling; we just pin its container to the
   bottom of the scrollable modal body on small screens. */
@media (max-width: 576px) {
  .gs-product-modal .gs-modal-sticky-cta {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .gs-product-modal .modal-body {
    /* Ensure content isn\'t hidden behind the sticky CTA */
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

/* v2.5.11: Panel del dueño - mensajes (evitar que texto largo rompa el layout) */
.owner-message-main { min-width: 0; }
/* .owner-message-body is defined in the owner-panel section below */
.owner-message-date { white-space: nowrap; }

/* v2.6.25: /orden/<id>/pago — clamp width + safe side padding (DESKTOP/TABLET only).
   IMPORTANT: Scoped to the order confirmation/payment page only (gs-order-pay-page).
   We apply from SM and up to avoid cases where browser zoom makes >=992px rules not trigger. */
@media (min-width: 576px) {
  .gs-order-pay-page {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    overflow-x: hidden;
  }
}
@media (min-width: 992px) {
  .gs-order-pay-page {
    max-width: 860px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 767.98px) {
  .gs-product-modal .gs-share-icon {
    display: none;
  }
}

/* v2.1.45: Mobile product modal — reduce scrolling to reach options/add-to-cart (additive)
   - Keep the same UI, but fit more content above the fold on small screens.
   - Slightly shrink the image area + tighten spacing inside the modal body. */
@media (max-width: 576px) {
  .gs-product-modal-dialog {
    margin: 0.35rem auto;
    max-width: calc(100% - 0.7rem);
  }
  .gs-product-modal {
    max-height: calc(var(--vh, 1vh) * 96);
    overflow: hidden;
  }
  .gs-product-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
  }
  .gs-product-modal .carousel {
    margin-bottom: 0.5rem !important;
  }
  .gs-product-modal p.mb-2 {
    margin-bottom: 0.35rem !important;
  }
  .gs-product-modal form .mb-3 {
    margin-bottom: 0.6rem !important;
  }
  .gs-product-modal .form-label {
    margin-bottom: 0.2rem;
  }
  .gs-product-modal .gs-prod-carousel-img {
    max-height: calc(var(--vh, 1vh) * 30);
    object-fit: contain;
  }

  /* v2.1.50: Keep the add-to-cart action reachable on all devices.
     Some phones render larger UI (font/display scaling), so pin the CTA
     inside the scrollable modal body (no redesign, just better reachability). */
  .gs-product-modal .gs-modal-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .gs-product-modal .gs-modal-sticky-cta .btn {
    margin-bottom: 0;
  }
}

.gs-hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.gs-hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin-top: 1.25rem;
}
.gs-hero-highlight {
  color: #a5b4fc;
}
.gs-hero-subtitle {
  max-width: 36rem;
  margin: 0.75rem auto 1.5rem;
  color: #e5e7eb;
}
.gs-hero-actions .btn {
  padding-inline: 1.75rem;
}
.gs-section-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.gs-section-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}
.gs-store-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 25px rgba(15,23,42,0.05);
}
.gs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.gs-avatar-initial {
  color: #4b5563;
}
.gs-product-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,23,42,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gs-product-image-wrapper {
  position: relative;
  padding-top: 70%;
  background: #f3f4f6;
}
.gs-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gs-product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
}
.gs-product-name {
  margin-top: 0.25rem;
  font-weight: 600;
}
.gs-product-store {
  font-size: 0.8rem;
  color: #6b7280;
}
.gs-product-price {
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Storefront header strip and palette */
.gs-store-header-bar {
  height: 4px;
  width: 100%;
  background-color: #4f46e5;
}

/* Store header text tweaks */
.gs-store-header-main .small.text-uppercase.text-muted {
  color: #4f46e5 !important;
  font-weight: 600;
}

.gs-store-header-main .fs-4.fw-semibold {
  font-size: 1.5rem;
}

/* Directory details card (below the pill banner) */
.gs-directory-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

/* v3.0.0: Service cards on public store page */
.gs-service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.15s;
}
.gs-service-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

/* Separator between banner and catalog */
.gs-store-separator {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1.25rem 0 1.5rem;
}

/* "Catálogo de la tienda" title */
.gs-store-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.gs-store-section-title-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  font-size: 0.9rem;
}

/* Primary button palette (purple) */
.btn-primary {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

/* Ensure consistent small button sizing in places where theme overrides can
   accidentally change btn-primary height. Uses Bootstrap 5 CSS variables. */
.gs-btn-sm {
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: 0.2rem;
}

/* Hard guarantee: make two adjacent action buttons the exact same height,
   even if Bootstrap vars are not applied (or a theme overrides them).
   Used on /cuenta top-right actions. */
.gs-btn-eq {
  height: 34px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 0.875rem !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #4338ca;
  border-color: #4338ca;
}

.btn-outline-primary {
  color: #4f46e5;
  border-color: #4f46e5;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}


/* Store banner pill card */
.gs-store-banner {
  background-color: #ffffff;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

/* Store logo (public store header)
   Desktop stays at the familiar size; mobile tweaks happen via media queries. */
.gs-store-logo {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.gs-store-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Mobile: avoid the oversized pill look + make header actions fit nicely */
@media (max-width: 576px) {
  .gs-store-banner {
    border-radius: 24px;
    padding: 1rem;
  }
  .gs-store-banner .gs-store-logo {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: #fff;
  }

  .gs-store-banner .gs-store-logo img {
    object-fit: contain;
    background: #fff;
  }
  .gs-store-banner-right {
    text-align: left !important;
  }
  .gs-store-banner-right .btn {
    width: 100%;
  }
}

/* Success button palette aligned with primary purple */
.btn-success {
  background-color: #4f46e5;
  border-color: #4f46e5;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #4338ca;
  border-color: #4338ca;
}
.btn-outline-success {
  color: #4f46e5;
  border-color: #4f46e5;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
  background-color: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

/* Slightly wider aspect ratio for landing "Nuevos productos" cards */
.gs-product-image-wrapper {
  position: relative;
  padding-top: 60%;
  background: #f3f4f6;
}

/* Make entire home product cards clickable */
.gs-product-card {
  position: relative;
}
.gs-product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* Make store product cards clickable (store page) */
.gs-store-product-card {
  position: relative;
}
.gs-store-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gs-store-card-link:focus {
  outline: none;
}


/* v2.1.8: color swatches (additive) */
.gs-color-radio { position: absolute; opacity: 0; pointer-events: none; }

.gs-color-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.22);
  cursor: pointer;
  background: #fff; /* will be overridden inline per swatch */
}

/* Helps very light colors remain visible (white/beige/crema, etc.) */
.gs-color-swatch.gs-color-light {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}

.gs-color-swatch:hover {
  filter: brightness(0.98);
}

.gs-color-radio:checked + .gs-color-swatch {
  outline: 2px solid rgba(79,70,229,.55);
  outline-offset: 2px;
}

.gs-color-radio:focus-visible + .gs-color-swatch {
  outline: 2px solid rgba(79,70,229,.55);
  outline-offset: 2px;
}


/* v2.1.31: Mobile storefront polish (sticky filters, tighter header, better cards) */
.gs-mobile-sticky-filters {
  background: transparent;
}

/* v2.1.34: product share button (deep link copy) */
.gs-share-product {
  white-space: nowrap;
}

/* Keep the filter bar visible while scrolling on mobile */
@media (max-width: 576px) {
  .gs-mobile-sticky-filters {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #f8f9fa;
    padding: 0.5rem 0;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-bottom: 1px solid #e5e7eb;
  }
  .gs-mobile-sticky-filters .gs-store-filter-form {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  /* "Limpiar filtros" should be subtle and inline */
  .gs-clear-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #6b7280;
    white-space: nowrap;
  }
  .gs-clear-link:active,
  .gs-clear-link:hover {
    text-decoration: underline;
    color: #374151;
  }

  /* Tighter store header spacing on mobile */
  .gs-store-banner {
    padding: 0.875rem;
  }
  .gs-store-banner-left {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
  .gs-store-header-main {
    width: 100%;
  }

  /* Make Instagram + Contactar match width (full-width buttons) */
  .gs-store-ig-wrap {
    width: 100%;
  }
  .gs-store-ig-btn {
    width: 100%;
    justify-content: center;
  }
  .gs-store-banner-right .btn {
    width: 100%;
  }

  /* Product card polish on mobile */
  .gs-store-product-card {
    cursor: pointer;
  }
  .gs-store-product-card .p-3 {
    padding: 0.75rem !important;
  }
  .gs-store-product-name {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .gs-store-product-price {
    font-size: 1.05rem;
  }

  /* Quick add-to-cart button on product cards */
  .gs-quick-add {
    position: relative;
    z-index: 5;
  }
  .gs-quick-add-btn {
    padding: 0.25rem 0.45rem;
    line-height: 1;
    border-radius: 8px;
  }

  /* Stable image box even when image is missing */
  .gs-product-thumb-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f3f4f6;
  }

  /* Modal carousel images: prevent layout jump */
  .gs-prod-carousel-img {
    aspect-ratio: 4/5;
    object-fit: contain;
    background: #f8f9fa;
  }
}


/* Stable image placeholder for products without images (all breakpoints) */
.gs-product-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* v2.1.39: Instagram-like product grid on mobile (additive; desktop unchanged)
   - Shows a 3-column thumbnail grid on small screens to reduce scrolling.
   - Product details remain available via the existing modal. */
@media (max-width: 576px) {
  /* tighter gutters for grid */
  .gs-store-grid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  /* Skeleton shimmer for images */
  .gs-skeleton-wrap {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gs-shimmer 1.5s infinite;
  }
  .gs-skeleton-wrap img.gs-loaded {
    opacity: 1;
  }
  .gs-skeleton-wrap img {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  @keyframes gs-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* square thumbs to match a profile-style grid */
  .gs-store-grid .gs-store-product-img,
  .gs-store-grid .gs-product-thumb-placeholder {
    aspect-ratio: 1/1 !important;
    object-fit: cover;
  }

  /* hide meta text under thumbnails on mobile grid */
  .gs-store-grid .gs-store-product-meta {
    display: none;
  }

  /* Home (móvil): "Nuevos productos" en cuadrícula tipo Instagram para reducir scroll */
  .gs-home-new-grid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .gs-home-new-grid .gs-product-image-wrapper {
    padding-top: 100% !important; /* square thumbs */
  }
  .gs-home-new-grid .gs-home-new-meta {
    display: none;
  }

}


/* Pago: selector tipo "tabs/radio" (desktop + mobile) */
.gs-payment-wrap { max-width: 820px; }
.gs-pay-toggle { width: 100%; }
.gs-pay-toggle .gs-pay-toggle-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem .75rem;
  font-weight: 600;
}
.gs-pay-toggle .gs-radio{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: inline-block;
  position: relative;
}
.gs-pay-toggle .gs-radio::after{
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
}
.gs-pay-toggle .btn-primary .gs-radio{
  border-color: rgba(255,255,255,.95);
  background: rgba(255,255,255,.12);
}
.gs-pay-toggle .btn-primary .gs-radio::after{
  opacity: 1;
  background: rgba(255,255,255,.95);
}



/* ===== Payment page (desktop compact, two-column like Recurrente) ===== */
.gs-pay-toggle { border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,.12); background: #fff; }
.gs-pay-toggle .gs-pay-toggle-btn { border-radius: 0; border: 0; }
.gs-pay-toggle .gs-pay-toggle-btn + .gs-pay-toggle-btn { border-left: 1px solid rgba(0,0,0,.12); }
.gs-pay-grid .card { margin-bottom: 0; }
.gs-pay-grid .card.card-body { padding: 16px; }
.gs-pay-grid h6 { margin-bottom: 10px; }
.gs-pay-grid .list-group-item { padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 992px) {
  .gs-pay-left { position: sticky; top: 92px; align-self: flex-start; }
  .gs-payment-wrap { max-width: 1100px; }
}


/* Payment form enhancements (additive) */
.gs-form-section-title{ font-weight:700; font-size:.85rem; color:#6c757d; text-transform:uppercase; letter-spacing:.02em; }
.gs-pay-cta{ padding:.85rem 1rem; font-weight:700; font-size:1.05rem; border-radius:.6rem; }


/* Payment page mobile improvements (no sticky CTA) */
.gs-pay-page .gs-cart-compact { margin-top: .25rem; }

@media (max-width: 576px) {
  .gs-pay-page .card.card-body { padding: .85rem; }
  .gs-pay-page h6 { font-size: 1.02rem; }
  .gs-pay-page .small { font-size: .92rem; }
  .gs-pay-page .gs-pay-toggle .gs-pay-toggle-btn{
    padding: .85rem .6rem;
    font-size: .95rem;
    gap: .4rem;
  }
  .gs-pay-page .gs-pay-toggle .gs-radio{
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
  .gs-pay-page .gs-deposit-card .small > div{
    margin-bottom: .15rem;
  }
  .gs-pay-page .form-control-sm{
    font-size: .95rem;
    padding-top: .55rem;
    padding-bottom: .55rem;
  }
  .gs-pay-page label.form-label.small{
    font-size: .85rem;
  }
}


/* Premium status badges (override bootstrap badge colors) */
.gs-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
}
.gs-status-neutral{
  background: #f3f4f6 !important;
  color: #374151 !important;
  border-color: #e5e7eb !important;
}
.gs-status-primary{
  background: #eef2ff !important;
  color: #3730a3 !important;
  border-color: #c7d2fe !important;
}
.gs-status-success{
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border-color: #a7f3d0 !important;
}
.gs-status-danger{
  background: #fef2f2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}

/* Store section toggle tabs (Products / Services) */
.gs-section-tab {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  transition: all 0.15s;
}
.gs-section-tab:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}
.gs-section-tab.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

/* Search results cards */
.gs-search-result-card { position: relative; overflow: hidden; border-radius: 12px; }
.gs-search-result-card .gs-product-image-wrapper { padding-top: 100%; }
.gs-search-result-card .stretched-link { position: absolute; inset: 0; z-index: 1; }

/* Order timeline */
.gs-order-pay-page .card-title { font-size: .95rem; }

/* Admin leads search highlight */
#gsLeadsTable tbody tr { transition: opacity .15s; }

/* ── v3.1.1: Owner panel styles (moved from inline <style> for cacheability) ── */
.owner-layout {
  min-height: calc(100vh - 56px);
  background-color: #f5f7fb;
}
.owner-sidebar {
  width: 260px;
  background-color: #ffffff;
  border-right: 1px solid #edf0f5;
}
.owner-sidebar-header {
  padding: 1.25rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid #f1f3f7;
}
.owner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
}
.owner-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f3f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6366f1;
}
.owner-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #22c55e;
}
.owner-sidebar-nav {
  padding: 0.75rem 0;
}
.owner-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  font-size: 0.95rem;
  color: #4b4f5c;
  text-decoration: none;
}
.owner-nav-link:hover {
  background-color: #f3f4ff;
  color: #4b4f5c;
}
.owner-nav-link.active {
  color: #4f46e5;
  background-color: #f3f4ff;
  font-weight: 500;
}
.owner-nav-icon {
  width: 22px;
  text-align: center;
  font-size: 1.05rem;
}
.owner-sidebar-footer {
  border-top: 1px solid #f1f3f7;
  padding: 0.9rem 1.5rem 1.1rem 1.5rem;
  font-size: 0.9rem;
}
.owner-sidebar-footer a {
  color: #6b7280;
  text-decoration: none;
}
.owner-sidebar-footer a:hover {
  text-decoration: underline;
}
.owner-message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.owner-orders-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.owner-orders-table td,
.owner-orders-table th {
  vertical-align: middle;
}
.order-id-link {
  font-weight: 500;
}
.order-status-badge {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.order-status-default {
  background-color: #e9f5ff;
  color: #1d5fbf;
}
.owner-dashboard-recent-orders {
  display: none !important;
}
.inventory-status-badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.inventory-status-active {
  background-color: #e8fae9;
  color: #1e9153;
}
.inventory-status-inactive {
  background-color: #ffeaea;
  color: #c0392b;
}
.inventory-product-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.inventory-thumb {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  object-fit: cover;
  background-color: #f1f3f7;
}
.owner-add-product-row {
  display: none !important;
}

/* v3.3.8: Navbar search bar — single pill, icon baked in (no split borders). */
.gs-nav-search {
  display: flex;
  align-items: center;
  max-width: 340px;
  width: 100%;
}
.gs-nav-search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}
.gs-nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa2b1;
  pointer-events: none;
}
.gs-nav-search-input {
  width: 100%;
  height: 38px;
  padding: 0 16px 0 38px;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #1f2430;
  background-color: #f3f4f8;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.gs-nav-search-input::placeholder {
  color: #9aa2b1;
}
.gs-nav-search-input:hover {
  background-color: #eceef4;
}
.gs-nav-search-input:focus {
  background-color: #fff;
  border-color: #c7cde0;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.gs-nav-search-field:focus-within .gs-nav-search-icon {
  color: #6b7280;
}
/* Kill the native "x" clear button in WebKit that mismatches the pill look */
.gs-nav-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
