:root {
  --cream: #f6efe8;
  --powder: #eedfd8;
  --blush: #d88b93;
  --rosewood: #b4636b;
  --ink: #1f2430;
  --muted: #7b6f72;
  --sidebar: #26374b;
  --sidebar-soft: #2f435b;
  --sidebar-active: #b4636b;
  --panel: #ffffff;
  --shell: #f3e9df;
  --line: rgba(102, 71, 74, 0.12);
  --shadow: 0 18px 42px rgba(95, 67, 70, 0.12);
}

.landing-page {
  --landing-bg: #f4f6f8;
  --landing-surface: rgba(255, 255, 255, 0.96);
  --landing-surface-strong: #ffffff;
  --landing-border: rgba(38, 55, 75, 0.1);
  --landing-border-strong: rgba(38, 55, 75, 0.16);
  --landing-muted: #5f6b7a;
  --landing-heading: #17212f;
  --landing-accent: #1f6fe5;
  --landing-accent-soft: rgba(31, 111, 229, 0.1);
  --landing-success: #1f8f5f;
  --landing-warning: #cc7a00;
  --landing-danger: #c34545;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--landing-heading);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 229, 0.1), transparent 20%),
    radial-gradient(circle at top right, rgba(180, 99, 107, 0.08), transparent 18%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-ribbon {
  background: #18212f;
  color: #f7faff;
}

.ribbon-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.top-header {
  padding: 1.25rem 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--landing-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.site-menu-toggle {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.95rem;
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  background: #fff;
  color: var(--landing-heading);
  cursor: pointer;
  font-weight: 800;
}

.site-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-toggle strong {
  font: inherit;
}

.brand-mark {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  text-align: center;
  flex: 0 0 auto;
}

.brand-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--landing-accent);
  font-weight: 800;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-catalog-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.site-catalog-menu {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-catalog-item {
  position: relative;
}

.site-catalog-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.95rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--landing-heading);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-catalog-trigger-all {
  color: var(--landing-accent);
}

.site-eye-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.site-catalog-item.is-active .site-catalog-trigger,
.site-catalog-item.is-open .site-catalog-trigger {
  background: rgba(31, 111, 229, 0.08);
  color: var(--landing-accent);
  border-color: rgba(31, 111, 229, 0.16);
}

.site-catalog-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  border: 1px solid var(--landing-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 15;
}

.site-catalog-item.is-open .site-catalog-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-catalog-sublink {
  min-height: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--landing-heading);
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-catalog-sublink:hover,
.site-catalog-sublink.is-active {
  background: rgba(31, 111, 229, 0.08);
  color: var(--landing-accent);
}

.site-mobile-drawer {
  display: none;
  margin-top: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--landing-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.site-mobile-drawer.is-open {
  display: grid;
  gap: 0.9rem;
}

.site-mobile-drawer-group {
  display: grid;
  gap: 0.55rem;
}

.site-mobile-drawer-label {
  color: var(--landing-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-mobile-drawer-menu {
  display: grid;
  gap: 0.45rem;
}

.site-mobile-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0 0.9rem;
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: #fff;
  color: var(--landing-heading);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.site-mobile-link.is-active {
  border-color: rgba(31, 111, 229, 0.22);
  background: rgba(31, 111, 229, 0.08);
  color: var(--landing-accent);
}

.page-shell {
  padding: 1.1rem 0 4.5rem;
}

.hero-card,
.storefront-preview {
  border: 1px solid var(--landing-border);
  border-radius: 24px;
  background: var(--landing-surface);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.hero-card {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.storefront-preview-head h2,
.storefront-product-card h3,
.storefront-empty-card h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--landing-heading);
  letter-spacing: -0.04em;
}

.storefront-preview-head p,
.storefront-product-card p,
.storefront-empty-card p {
  margin: 0.35rem 0 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.storefront-preview {
  margin-top: 1rem;
  padding: 1.4rem;
}

.storefront-preview-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: start;
}

.storefront-preview-head h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.95rem, 3vw, 2.8rem);
}

.storefront-product-info article {
  padding: 0.95rem;
  border: 1px solid var(--landing-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.storefront-product-info strong {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--landing-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.storefront-product-info span {
  margin: 0.35rem 0 0;
  color: var(--landing-muted);
}

.storefront-filter-group {
  display: grid;
  gap: 0.65rem;
}

.storefront-filter-label {
  color: var(--landing-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

.storefront-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.storefront-chip-row-menu {
  align-items: center;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.storefront-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(23, 33, 47, 0.08);
  border-radius: 14px;
  background: #fff;
  color: var(--landing-heading);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.storefront-chip small {
  color: var(--landing-muted);
}

.storefront-chip.is-active {
  border-color: rgba(31, 111, 229, 0.32);
  background: rgba(31, 111, 229, 0.08);
  color: var(--landing-accent);
  transform: translateY(-1px);
}

.storefront-chip:hover {
  border-color: rgba(31, 111, 229, 0.2);
}

.storefront-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.15rem;
}

.storefront-product-card,
.storefront-empty-card {
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 24px;
  background: var(--landing-surface-strong);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.storefront-empty-card {
  grid-column: 1 / -1;
  padding: 1.6rem;
  text-align: center;
}

.storefront-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at top, rgba(31, 111, 229, 0.08), transparent 35%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.storefront-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 1rem;
}

.storefront-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: #17212f;
  color: #f7faff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
}

.storefront-product-body {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.storefront-product-header {
  display: grid;
  gap: 0.65rem;
}

.storefront-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.storefront-product-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: #f3f6fa;
  color: #415066;
  font-size: 0.76rem;
  font-weight: 700;
}

.storefront-product-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.storefront-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.storefront-price-label {
  display: block;
  color: var(--landing-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-price-value {
  display: block;
  margin-top: 0.3rem;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--landing-heading);
  letter-spacing: -0.05em;
}

.storefront-stock-pill {
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: #f8fbff;
  text-align: right;
}

.storefront-stock-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: #617085;
}

.storefront-stock-pill strong {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
}

.storefront-stock-pill.is-good strong {
  color: var(--landing-success);
}

.storefront-stock-pill.is-low strong,
.storefront-stock-pill.is-low .storefront-stock-icon,
.storefront-stock-pill.is-good .storefront-stock-icon {
  color: var(--landing-success);
}

.storefront-stock-pill.is-empty strong,
.storefront-stock-pill.is-empty .storefront-stock-icon {
  color: var(--landing-danger);
}

.storefront-variant-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--landing-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.storefront-variant-group {
  display: grid;
  gap: 0.55rem;
}

.storefront-variant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.storefront-variant-head span {
  color: var(--landing-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-variant-head strong {
  color: var(--landing-heading);
  font-size: 0.92rem;
  font-weight: 800;
}

.storefront-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.storefront-option-button {
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid #d645ab;
  background: #ffe3f1;
  color: #5f2d63;
  cursor: pointer;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.storefront-option-button:hover:not(:disabled),
.storefront-option-button.is-active {
  border-color: #b2368e;
  background: #ffd1e8;
  color: #4d2352;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(214, 69, 171, 0.16);
}

.storefront-option-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.storefront-product-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.storefront-product-info article {
  padding: 0.85rem;
}

.storefront-product-info strong {
  font-size: 0.95rem;
  word-break: break-word;
}

.storefront-product-actions {
  display: grid;
}

.storefront-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f6fe5, #1657d8);
  color: #fffdfb;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.storefront-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(22, 87, 216, 0.22);
  filter: saturate(1.05);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 36px rgba(20, 98, 49, 0.28);
  z-index: 20;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

select {
  font: inherit;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(180deg, #fffaf6 0%, #f7efe6 52%, #eddacf 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(420px, 0.9fr);
  align-items: stretch;
  gap: 1.1rem;
  padding: 1rem;
}

.status-pill,
.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-pill,
.section-tag {
  color: var(--rosewood);
  background: rgba(180, 99, 107, 0.12);
}

.login-hero-copy h1,
.login-card h2,
.gpos-content-head h2,
.gpos-placeholder-card h2 {
  font-family: 'Cormorant Garamond', serif;
}

.field-hint {
  line-height: 1.65;
}

.login-hero,
.login-card {
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.login-hero {
  display: grid;
  align-items: center;
  min-height: 620px;
  gap: 1rem;
  padding: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(135deg, #b89b99 0%, #c8aaa8 40%, #d89197 100%);
  color: #fffaf8;
}

.login-hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-hero-mark img {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(70, 38, 42, 0.18));
}

.login-hero-copy {
  max-width: 760px;
}

.login-kicker,
.login-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.login-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.login-hero-copy h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.5rem, 3.8vw, 4.4rem);
  line-height: 0.92;
}

.login-hero-copy p {
  max-width: 32rem;
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 250, 248, 0.92);
}

.login-card {
  align-self: stretch;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem;
  background: rgba(255, 251, 247, 0.96);
}

.login-card-kicker {
  color: var(--rosewood);
  background: rgba(180, 99, 107, 0.12);
}

.login-card h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.1rem, 2.8vw, 3.3rem);
  line-height: 0.96;
}

.login-card p {
  color: var(--muted);
}

.login-form {
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus,
.search-input:focus {
  border-color: var(--rosewood);
  box-shadow: 0 0 0 3px rgba(180, 99, 107, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.button-primary {
  width: 100%;
  margin-top: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #be7780, var(--rosewood));
}

.button-secondary {
  color: #fff;
  background: var(--rosewood);
}

.button-danger {
  color: #fff;
  background: linear-gradient(135deg, #c9707d, #a94f5a);
}

.button-outline {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(38, 55, 75, 0.14);
  font-weight: 400;
}

.pos-page {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(180deg, #f8f0e8 0%, #f2e6db 52%, #ecddd1 100%);
}

.gpos-shell {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  overflow: hidden;
}

.gpos-sidebar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  margin: 0;
  padding: 0.65rem 0.5rem 0.55rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(126, 98, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #251f46 0%, #211c3d 46%, #1c1837 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 28px 28px 0;
  box-shadow: 0 28px 60px rgba(15, 12, 33, 0.32);
  color: #eef4fb;
}

.gpos-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.65rem 0.55rem;
}

.gpos-logo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gpos-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(49, 23, 28, 0.24));
}

.gpos-nav {
  padding: 0.25rem 0.35rem;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gpos-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.gpos-nav-item {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1rem;
  margin-bottom: 0.35rem;
  border: 0;
  background: transparent;
  color: rgba(244, 240, 255, 0.86);
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 16px;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gpos-nav-item > * {
  pointer-events: none;
}

.gpos-nav-item span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gpos-nav-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0.98;
}

.gpos-nav-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.gpos-nav-item.is-active {
  background: linear-gradient(135deg, #ff4f9f 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(140, 92, 246, 0.22);
}

.gpos-nav-item.is-active .gpos-nav-icon {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.gpos-sidebar-footer {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 0.55rem 0.45rem;
}

.gpos-sidebar-footer > * {
  position: relative;
  z-index: 1;
}

.gpos-sidebar-logout {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(17, 14, 37, 0.36);
  color: #f7f1ff;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gpos-sidebar-logout:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 22px rgba(15, 12, 33, 0.2);
}

.gpos-sidebar-logout-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gpos-sidebar-logout-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-session-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
  padding-inline: 0.8rem;
  font-size: 0.84rem;
  position: relative;
  z-index: 1;
}

.gpos-session-line:first-of-type {
  margin-top: 1.72rem;
}

.gpos-session-line:first-child {
  margin-top: 0;
}

.gpos-session-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.gpos-session-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 247, 255, 0.92);
  flex: 0 0 auto;
}

.gpos-session-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-session-label span:last-child {
  color: rgba(255, 247, 255, 0.82);
}

.gpos-session-value {
  font-weight: 600;
  color: #fff8ff;
  text-align: right;
  font-size: 0.86rem;
}

.gpos-sidebar-footer::before {
  content: '';
  display: block;
  position: absolute;
  inset: 3.55rem 0.3rem auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.gpos-sidebar-footer::after {
  content: 'Sesion actual';
  position: absolute;
  inset: 4.2rem 0.2rem 0.05rem;
  padding: 1.12rem 1rem 1rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 79, 159, 0.72) 0%, rgba(139, 92, 246, 0.72) 100%);
  color: rgba(255, 247, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 28px rgba(18, 13, 40, 0.22);
  z-index: 0;
}

.gpos-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.1rem;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 1.2rem;
}

.gpos-topbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 760px);
  align-items: center;
  column-gap: 1.1rem;
  row-gap: 0.8rem;
  padding: 1.15rem 1.35rem;
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.94);
  border: 1px solid rgba(180, 99, 107, 0.12);
  box-shadow: var(--shadow);
}

.gpos-topbar.is-hidden-for-configuracion {
  display: none;
}

.pos-page:has(.gpos-panel[data-panel="devoluciones"].is-active) {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
}

.pos-page:has(.gpos-panel[data-panel="clientes"].is-active) {
  background: #fff;
}

.pos-page:has(.gpos-panel[data-panel="clientes"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="clientes"].is-active) .gpos-workspace,
.pos-page:has(.gpos-panel[data-panel="clientes"].is-active) .gpos-topbar {
  background: #fff;
}

.pos-page:has(.gpos-panel[data-panel="configuracion"].is-active) {
  background:
    radial-gradient(circle at top right, rgba(255, 99, 181, 0.08), transparent 20%),
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.08), transparent 18%),
    linear-gradient(180deg, #f8f8ff 0%, #f4f1ff 52%, #f2efff 100%);
}

.pos-page:has(.gpos-panel[data-panel="configuracion"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="configuracion"].is-active) .gpos-workspace {
  background: transparent;
}

.pos-page:has(.gpos-panel[data-panel="cuadratura"].is-active) {
  background:
    radial-gradient(circle at top center, rgba(108, 204, 255, 0.28), transparent 22%),
    linear-gradient(0deg, rgba(14, 40, 96, 0.98) 0%, rgba(28, 89, 204, 0.96) 58%, rgba(75, 188, 255, 0.94) 100%);
}

.pos-page:has(.gpos-panel[data-panel="cuadratura"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="cuadratura"].is-active) .gpos-workspace {
  background: transparent;
}

.pos-page:has(.gpos-panel[data-panel="movimientos"].is-active) {
  background:
    radial-gradient(circle at top center, rgba(108, 204, 255, 0.28), transparent 22%),
    linear-gradient(0deg, rgba(14, 40, 96, 0.98) 0%, rgba(28, 89, 204, 0.96) 58%, rgba(75, 188, 255, 0.94) 100%);
}

.pos-page:has(.gpos-panel[data-panel="movimientos"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="movimientos"].is-active) .gpos-workspace {
  background: transparent;
}

.pos-page:has(.gpos-panel[data-panel="caja"].is-active) {
  background:
    radial-gradient(circle at top center, rgba(108, 204, 255, 0.28), transparent 22%),
    linear-gradient(0deg, rgba(14, 40, 96, 0.98) 0%, rgba(28, 89, 204, 0.96) 58%, rgba(75, 188, 255, 0.94) 100%);
}

.pos-page:has(.gpos-panel[data-panel="caja"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="caja"].is-active) .gpos-workspace {
  background: transparent;
}

.pos-page:has(.gpos-panel[data-panel="buscar-productos"].is-active) {
  background:
    radial-gradient(circle at top center, rgba(108, 204, 255, 0.28), transparent 22%),
    linear-gradient(0deg, rgba(14, 40, 96, 0.98) 0%, rgba(28, 89, 204, 0.96) 58%, rgba(75, 188, 255, 0.94) 100%);
}

.pos-page:has(.gpos-panel[data-panel="buscar-productos"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="buscar-productos"].is-active) .gpos-workspace {
  background: transparent;
}

.gpos-topbar-copy {
  min-width: 0;
}

.gpos-ventas-topbar-shortcuts {
  margin-top: 1.2rem;
}

.gpos-ventas-topbar-shortcuts {
  margin-top: 1.2rem;
}

.gpos-topbar h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(2.3rem, 2.8vw, 3.2rem);
  line-height: 0.95;
  font-family: 'Cormorant Garamond', serif;
}

.gpos-topbar.is-ventas h1::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  width: clamp(220px, 92%, 460px);
  bottom: -0.42rem;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='460' height='16' viewBox='0 0 460 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11.1C48 6.7 90.2 8.9 131.7 10.7C174.1 12.5 215.8 10.2 257.9 7.7C301.3 5.1 344.7 4.9 453 9.9' stroke='%23d95ac6' stroke-width='6.2' stroke-linecap='round'/%3E%3Cpath d='M10 13C68.5 9.5 128.2 12.9 186.8 12C241.6 11.1 299.4 6.6 447 11.9' stroke='%23f3b56b' stroke-width='2.4' stroke-linecap='round' stroke-opacity='0.82'/%3E%3C/svg%3E") left center/100% 100% no-repeat;
  pointer-events: none;
}

.gpos-topbar p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.gpos-topbar-scan-shell {
  width: 100%;
  padding: 1rem 1.05rem 0.95rem;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 32%),
    linear-gradient(180deg, rgba(255, 253, 251, 0.96) 0%, rgba(255, 248, 244, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gpos-topbar-scan-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  color: #b4636b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gpos-topbar-scan-shell.is-hidden {
  display: none;
}

.gpos-topbar-scan-input {
  width: 100%;
  min-height: 58px;
  padding: 0 1.2rem;
  border-radius: 18px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(108, 77, 81, 0.08);
}

.gpos-topbar-scan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.gpos-scan-mode-switch {
  display: inline-flex;
  border: 1px solid rgba(180, 99, 107, 0.16);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 250, 248, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gpos-scan-mode-button {
  min-width: 156px;
  min-height: 42px;
  padding: 0 1.1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.gpos-scan-mode-button.is-active {
  background: rgba(180, 99, 107, 0.14);
  color: var(--rosewood);
  font-weight: 600;
}

.gpos-scan-mode-button:hover {
  color: var(--rosewood);
}

.gpos-scan-feedback {
  margin: 0;
  padding-left: 0.1rem;
  color: #7b6671;
}

.pos-page:has(.gpos-panel[data-panel="ventas"].is-active) {
  background: #f7f5f3;
}

.pos-page:has(.gpos-panel[data-panel="ventas"].is-active) .gpos-main,
.pos-page:has(.gpos-panel[data-panel="ventas"].is-active) .gpos-workspace {
  background: transparent;
}

.gpos-topbar.is-ventas {
  grid-template-columns: minmax(320px, 1.02fr) minmax(440px, 1.22fr);
  gap: 1.4rem;
  align-items: center;
}

.gpos-topbar.is-ventas .gpos-topbar-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.25rem 0 0.15rem;
}

.gpos-topbar.is-ventas [data-module-heading],
.gpos-topbar.is-ventas [data-module-description] {
  display: none;
}

.gpos-topbar.is-ventas h1 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: clamp(2.55rem, 3vw, 3.6rem);
  line-height: 0.98;
  color: #1e293b;
}

.gpos-topbar.is-ventas p[data-module-description] {
  margin-top: 0.7rem;
  font-size: 1.02rem;
  color: #667085;
}

.gpos-topbar.is-ventas .gpos-topbar-scan-shell {
  padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid #ece7e3;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.08), transparent 18%),
    radial-gradient(circle at 12% 90%, rgba(233, 90, 169, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 253, 0.98) 100%);
  box-shadow: 0 18px 38px rgba(30, 41, 59, 0.06);
}

.gpos-topbar.is-ventas .gpos-topbar-scan-kicker {
  margin-bottom: 0.8rem;
  color: #c94b88;
  font-size: 0.78rem;
}

.gpos-topbar-scan-entry {
  position: relative;
}

.gpos-topbar-scan-entry-icon,
.gpos-topbar-scan-entry-action {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  transform: translateY(-50%);
}

.gpos-topbar-scan-entry-icon {
  left: 0.8rem;
  border: 1px solid rgba(233, 90, 169, 0.16);
  background: linear-gradient(180deg, #fff7fb 0%, #fef1f8 100%);
  color: #e95aa9;
}

.gpos-topbar-scan-entry-action {
  right: 0.8rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%);
  color: #2563eb;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.gpos-topbar-scan-entry-icon svg,
.gpos-topbar-scan-entry-action svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-topbar.is-ventas .gpos-topbar-scan-input {
  min-height: 56px;
  padding: 0 4.1rem 0 4.25rem;
  border: 1px solid rgba(233, 90, 169, 0.34);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(30, 41, 59, 0.05);
}

.gpos-topbar.is-ventas .gpos-topbar-scan-foot {
  margin-top: 0.9rem;
}

.gpos-topbar.is-ventas .gpos-scan-mode-switch {
  padding: 0.2rem;
  border: 1px solid #ece7e3;
  background: #fff;
}

.gpos-topbar.is-ventas .gpos-scan-mode-button {
  border-radius: 999px;
  color: #667085;
  font-weight: 600;
}

.gpos-topbar.is-ventas .gpos-scan-mode-button.is-active {
  background: linear-gradient(135deg, rgba(233, 90, 169, 0.18) 0%, rgba(155, 92, 248, 0.16) 100%);
  color: #a63779;
  box-shadow: 0 8px 18px rgba(233, 90, 169, 0.1);
}

.gpos-topbar.is-ventas .gpos-scan-feedback {
  color: #7a7d95;
}

.gpos-inline-switch {
  display: inline-flex;
  margin-top: 0.2rem;
  border: 1px solid rgba(180, 99, 107, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: #fffaf8;
  cursor: pointer;
}

.gpos-inline-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gpos-inline-switch-option {
  min-width: 92px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.gpos-inline-switch input:checked + .gpos-inline-switch-option-on {
  background: rgba(180, 99, 107, 0.14);
  color: var(--rosewood);
  font-weight: 600;
}

.gpos-inline-switch input:checked + .gpos-inline-switch-option-on + .gpos-inline-switch-option-off {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.gpos-inline-switch input:not(:checked) + .gpos-inline-switch-option-on {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.gpos-inline-switch input:not(:checked) + .gpos-inline-switch-option-on + .gpos-inline-switch-option-off {
  background: rgba(180, 99, 107, 0.14);
  color: var(--rosewood);
  font-weight: 600;
}

.gpos-workspace {
  min-height: 0;
}

.gpos-panel {
  display: none;
}

.gpos-panel.is-active {
  display: grid;
}

.gpos-panel[data-panel="ventas"].is-active {
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 1.2rem;
}

.gpos-panel[data-panel="buscar-productos"].is-active {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.gpos-panel[data-panel="productos"].is-active,
.gpos-panel[data-panel="clientes"].is-active,
.gpos-panel[data-panel="caja"].is-active {
  display: block;
}

.gpos-panel[data-panel="clientes"].is-active {
  background: #fff;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.gpos-panel[data-panel="caja"].is-active {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.gpos-panel[data-panel="cuadratura"].is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.1rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.gpos-panel[data-panel="movimientos"].is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.1rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.gpos-panel[data-panel="clientes"] .gpos-content-card,
.gpos-panel[data-panel="clientes"] .gpos-sidecard,
.gpos-panel[data-panel="clientes"] .gpos-placeholder-card,
.gpos-panel[data-panel="clientes"] .gpos-client-edit-usage {
  background: #fff;
}

.gpos-panel[data-panel="configuracion"] .gpos-content-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 249, 255, 0.98) 100%);
  border-color: #eee8f6;
  box-shadow: 0 26px 48px rgba(91, 77, 152, 0.08);
}

.gpos-content-card,
.gpos-sidecard,
.gpos-placeholder-card {
  background: rgba(255, 251, 247, 0.96);
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gpos-content-card {
  min-height: 720px;
  padding: 1.2rem;
}

.gpos-product-browser-card {
  min-height: auto;
  background:
    radial-gradient(circle at top right, rgba(73, 188, 255, 0.08), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 63, 142, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 247, 251, 0.98) 100%);
  border-color: #efe6f3;
  box-shadow: 0 24px 48px rgba(88, 61, 108, 0.08);
}

.gpos-product-browser-head {
  align-items: end;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(239, 230, 243, 0.92);
}

.gpos-product-browser-heading {
  max-width: 760px;
}

.gpos-product-browser-tag {
  background: linear-gradient(135deg, rgba(236, 247, 255, 0.96) 0%, rgba(223, 238, 255, 0.96) 100%);
  color: #1a66d9;
  border: 1px solid rgba(147, 201, 255, 0.28);
}

.gpos-config-tag {
  background: linear-gradient(135deg, rgba(208, 247, 226, 0.96) 0%, rgba(227, 252, 236, 0.96) 100%);
  color: #217856;
}

.gpos-product-browser-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.gpos-product-browser-heading h2::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  right: -0.2rem;
  bottom: 0.15rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(76, 230, 181, 0.9) 0%, rgba(161, 244, 214, 0.9) 100%);
  opacity: 0.85;
  z-index: -1;
}

.gpos-product-browser-heading p {
  margin: 0;
  color: #7a7d95;
  max-width: 48rem;
  line-height: 1.6;
}

.gpos-product-browser-close {
  min-height: 46px;
  border-radius: 16px;
  border-color: rgba(202, 216, 235, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
  color: #20365d;
  box-shadow: 0 12px 24px rgba(7, 65, 148, 0.12);
}

.gpos-product-browser-close:hover {
  border-color: rgba(169, 214, 255, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(237, 247, 255, 1) 100%);
  color: #1b5fd1;
}

.gpos-product-browser-search-shell {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(108, 204, 255, 0.12), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(255, 63, 142, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(251, 251, 255, 0.98) 0%, rgba(247, 244, 255, 0.98) 100%);
  box-shadow: 0 16px 30px rgba(88, 61, 108, 0.06);
}

.gpos-product-browser-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #b4636b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gpos-product-browser-toolbar {
  margin-top: 0.8rem;
}

.gpos-product-browser-toolbar .search-input {
  min-height: 64px;
  font-size: 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(88, 61, 108, 0.06);
}

.gpos-product-browser-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.gpos-product-browser-hint-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid rgba(239, 230, 243, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #7a7d95;
  font-size: 0.86rem;
  font-weight: 600;
}

.gpos-product-browser-feedback-card {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 250, 0.98) 0%, rgba(255, 246, 240, 0.98) 100%);
}

.gpos-product-browser-feedback-card .field-hint {
  margin: 0;
  color: #8a6880;
}

.gpos-product-detail-modal {
  width: min(1680px, calc(100vw - 1.5rem));
  max-height: min(656px, calc(100vh - 1.5rem));
  gap: 0.85rem;
  overflow-x: hidden;
}

.gpos-product-detail-head {
  align-items: flex-start;
}

.gpos-product-detail-heading {
  min-width: 0;
}

.gpos-product-detail-heading h3 {
  margin: 0.25rem 0 0.2rem;
  font-size: 1.85rem;
}

.gpos-product-detail-heading p {
  margin: 0;
  color: var(--muted);
}

.gpos-product-detail-tag {
  color: #c96873;
  background: linear-gradient(135deg, rgba(255, 244, 247, 0.98) 0%, rgba(255, 250, 253, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 126, 147, 0.18);
}

.gpos-product-detail-summary {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.gpos-product-detail-media-shell {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.gpos-product-detail-media {
  width: 144px;
  height: 144px;
  overflow: hidden;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff6fb 100%);
  display: grid;
  place-items: center;
  color: #7a7d95;
  font-size: 0.9rem;
  text-align: center;
}

.gpos-product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gpos-product-detail-zoom {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 63, 142, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 244, 250, 0.98) 100%);
  color: #a93e78;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(88, 61, 108, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.gpos-product-detail-zoom:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 63, 142, 0.34);
  color: #8f2c63;
  box-shadow: 0 14px 26px rgba(171, 62, 120, 0.14);
}

.gpos-product-detail-zoom svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.gpos-product-detail-copy {
  min-width: 0;
  display: grid;
  gap: 0.65rem;
}

.gpos-product-detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gpos-product-detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 99, 107, 0.12);
  background: rgba(255, 245, 240, 0.9);
  color: #6e5c63;
  font-size: 0.82rem;
  font-weight: 600;
}

.gpos-product-detail-copy h4 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.04;
  color: var(--ink);
}

.gpos-product-detail-brand {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gpos-product-detail-brand strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.gpos-product-detail-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.gpos-product-detail-variants {
  display: grid;
  gap: 0.7rem;
}

.gpos-product-detail-variant-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 63, 142, 0.78) 0, rgba(255, 63, 142, 0.78) 4px, transparent 4px),
    linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  box-shadow: 0 14px 28px rgba(88, 61, 108, 0.06);
}

.gpos-product-detail-variant-copy {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.gpos-product-detail-variant-copy strong {
  display: block;
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink);
}

.gpos-product-detail-variant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.gpos-product-detail-variant-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.92rem;
}

.gpos-product-detail-variant-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gpos-product-detail-variant-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.gpos-product-detail-variant-actions .button {
  min-width: 124px;
}

.gpos-product-detail-print-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.45rem 0.38rem 0.7rem;
  border: 1px solid rgba(144, 182, 176, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 249, 0.98) 100%);
}

.gpos-product-detail-print-qty-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3f4f5d;
  letter-spacing: 0.02em;
}

.gpos-product-detail-print-qty-input {
  width: 4.25rem;
  min-width: 4.25rem;
  height: 2.7rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(199, 210, 221, 0.92);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
}

.gpos-product-detail-print-qty-input:focus {
  outline: none;
  border-color: rgba(82, 133, 214, 0.62);
  box-shadow: 0 0 0 3px rgba(82, 133, 214, 0.12);
}

.gpos-product-detail-label-button {
  min-width: 2.85rem !important;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  color: #0f766e;
  border-color: rgba(144, 182, 176, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gpos-product-detail-label-button svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-product-detail-modal .gpos-confirm-actions {
  margin-top: 0.2rem;
}

.gpos-product-detail-modal .button-outline,
.gpos-product-detail-modal .button-primary {
  min-height: 46px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(72, 46, 94, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.gpos-product-detail-modal .button-outline {
  border-color: rgba(150, 197, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 247, 255, 0.98) 100%);
  color: #2d4f86;
}

.gpos-product-detail-modal .button-outline:hover {
  border-color: rgba(69, 145, 255, 0.48);
  background: linear-gradient(180deg, rgba(247, 252, 255, 1) 0%, rgba(225, 241, 255, 1) 100%);
  color: #1f4ea0;
  transform: translateY(-1px);
}

.gpos-product-detail-modal .button-primary {
  border-color: rgba(177, 90, 237, 0.24);
  background: linear-gradient(135deg, #ff4f9f 0%, #8b5cf6 100%);
  color: #fff;
}

.gpos-product-detail-modal .button-primary:hover:not(:disabled) {
  box-shadow: 0 16px 28px rgba(140, 92, 246, 0.2);
  transform: translateY(-1px);
}

.gpos-product-detail-modal .button-primary:disabled {
  border-color: rgba(182, 167, 190, 0.24);
  background: linear-gradient(180deg, #f0e8ef 0%, #ebe3ea 100%);
  color: #948797;
  box-shadow: none;
}

.gpos-product-detail-status {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(180, 99, 107, 0.12);
  background: linear-gradient(180deg, #fff8f4 0%, #fff3ed 100%);
  color: #8a6880;
}

.gpos-product-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(16, 12, 22, 0.88);
  backdrop-filter: blur(6px);
}

.gpos-product-image-lightbox.is-hidden {
  display: none;
}

.gpos-product-image-lightbox-dialog {
  position: static;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.gpos-product-image-lightbox-dialog img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.gpos-product-image-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.gpos-product-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  align-content: start;
}

.gpos-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(180, 99, 107, 0.12);
}

.gpos-content-head h2 {
  margin: 0.35rem 0 0;
  font-size: 2rem;
}

.gpos-shortcuts {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.gpos-shortcut {
  min-width: 130px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid #ece7e3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfe 100%);
  color: #334155;
  cursor: pointer;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.gpos-shortcut.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff5ea8 0%, #d946ef 52%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.25);
}

.gpos-ventas-tag {
  color: #0b6b45;
  background: linear-gradient(135deg, rgba(46, 232, 154, 0.26) 0%, rgba(111, 255, 214, 0.32) 100%);
  box-shadow: inset 0 0 0 1px rgba(19, 181, 116, 0.14);
}

.gpos-ticket-chip-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.gpos-ticket-chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 99, 107, 0.14);
  background: #fffaf8;
  color: var(--muted);
  font-size: 0.92rem;
}

.gpos-ticket-chip.is-active {
  border-color: rgba(180, 99, 107, 0.28);
  color: var(--rosewood);
  font-weight: 600;
}

.gpos-ticket-detail-shell {
  margin-top: 1rem;
  min-height: 520px;
  border: 1px solid rgba(180, 99, 107, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 249, 0.68);
  padding: 0.75rem;
}

.gpos-ticket-lines {
  display: grid;
  gap: 0.85rem;
}

.gpos-ticket-line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) 132px 132px 132px;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1rem;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 246, 0.98) 100%);
  box-shadow: 0 12px 24px rgba(102, 74, 77, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gpos-ticket-line::before {
  content: '';
  position: absolute;
  inset: 12px auto 12px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 93, 196, 0.95) 0%, rgba(35, 162, 255, 0.82) 100%);
}

.gpos-ticket-line:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 69, 171, 0.18);
  box-shadow: 0 16px 30px rgba(102, 74, 77, 0.1);
}

.gpos-ticket-line-copy strong {
  display: block;
  font-size: 1.05rem;
}

.gpos-ticket-line-copy p,
.gpos-ticket-line-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gpos-ticket-line-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gpos-icon-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--rosewood);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.gpos-icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 99, 107, 0.28);
  box-shadow: 0 10px 18px rgba(92, 64, 67, 0.12);
}

.gpos-icon-button-symbol {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.gpos-icon-button.is-discount {
  color: #168a63;
}

.gpos-icon-button.is-discount:hover {
  border-color: rgba(22, 138, 99, 0.28);
  background: rgba(22, 138, 99, 0.08);
  color: #0f6c4c;
}

.gpos-icon-button.is-danger {
  color: #a94f5a;
}

.gpos-icon-button.is-danger:hover {
  border-color: rgba(169, 79, 90, 0.28);
  background: rgba(169, 79, 90, 0.08);
  color: #8e4150;
}

.gpos-ticket-line-discount {
  color: var(--rosewood);
  font-size: 0.92rem;
  font-weight: 600;
}

.gpos-ticket-line-value {
  text-align: right;
}

.gpos-ticket-line-value strong {
  display: block;
  font-size: 1.1rem;
}

.gpos-ticket-line-value p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.gpos-ticket-line-value.is-total strong {
  color: #0f2b57;
  font-size: 1.24rem;
}

.gpos-ticket-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.gpos-ticket-qty-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 99, 107, 0.16);
  border-radius: 10px;
  background: #fff;
  color: var(--rosewood);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.gpos-ticket-qty-number {
  min-width: 28px;
  display: inline-block;
  text-align: center;
}

.gpos-ticket-empty {
  min-height: 560px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}

.gpos-ticket-empty strong {
  font-size: 2rem;
  font-weight: 400;
  color: var(--sidebar);
  font-family: 'Cormorant Garamond', serif;
}

.gpos-ticket-empty p {
  margin: 0.6rem 0 0;
}

.gpos-sidecards {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.gpos-sidecard {
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(89, 64, 67, 0.09);
}

.gpos-sidecard.is-hidden {
  display: none;
}

.gpos-total-card {
  padding: 0.85rem 0.9rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #cf8690 0%, #b4636b 100%);
  color: #fff8f6;
}

.gpos-total-card span,
.gpos-total-card p {
  display: block;
}

.gpos-total-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 400;
}

.gpos-total-card p {
  margin: 0.3rem 0 0;
  opacity: 0.9;
  font-size: 0.92rem;
}

.gpos-total-card small {
  display: block;
  margin-top: 0.45rem;
  opacity: 0.88;
  font-size: 0.8rem;
}

.gpos-kpi-list-inline {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 248, 246, 0.22);
}

.gpos-kpi-list-inline .gpos-kpi-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.gpos-kpi-list-inline .gpos-kpi-line + .gpos-kpi-line {
  margin-top: 0.45rem;
}

.gpos-kpi-list-inline .gpos-kpi-line span,
.gpos-kpi-list-inline .gpos-kpi-line strong {
  color: #fff8f6;
}

.gpos-kpi-list-inline .gpos-kpi-line span {
  opacity: 0.9;
}

.gpos-kpi-list-inline .gpos-kpi-line strong {
  margin-top: 0;
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 600;
  text-align: right;
}

.gpos-discount-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(49, 31, 36, 0.3);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gpos-discount-modal-backdrop.is-hidden {
  display: none;
}

.gpos-discount-modal {
  width: min(460px, calc(100vw - 2rem));
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(180, 99, 107, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 244, 239, 0.95), transparent 38%),
    linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: 0 28px 64px rgba(64, 41, 45, 0.2);
  overflow-y: auto;
}

.gpos-discount-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gpos-discount-editor-head h3 {
  margin: 0.35rem 0 0.3rem;
}

.gpos-discount-editor-head p {
  margin: 0;
}

.gpos-discount-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(38, 55, 75, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.gpos-discount-close:hover {
  background: #fff2f8;
  border-color: rgba(214, 75, 153, 0.2);
  color: #b23b7a;
  transform: translateY(-1px);
}

.gpos-discount-editor {
  display: grid;
  gap: 0.9rem;
}

.gpos-discount-warning {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(180, 99, 107, 0.08);
  color: var(--rosewood);
  line-height: 1.5;
}

.gpos-discount-warning.is-hidden {
  display: none;
}

.gpos-discount-form {
  display: grid;
  gap: 0.8rem;
}

.gpos-confirm-modal {
  width: min(420px, calc(100vw - 2rem));
}

.gpos-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.gpos-payment-modal {
  width: min(860px, calc(100vw - 2rem));
  max-height: min(760px, calc(100vh - 2.5rem));
  overflow-y: auto;
  overflow-x: hidden;
}

.gpos-payment-modal .gpos-discount-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: start;
  gap: 1.25rem;
}

.gpos-payment-head-copy {
  min-width: 0;
}

.gpos-payment-summary-stack {
  display: grid;
  justify-items: stretch;
  gap: 0.75rem;
}

.gpos-payment-summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.gpos-payment-ticket-resume {
  margin-top: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
  border: 1px solid rgba(180, 99, 107, 0.12);
}

.gpos-payment-ticket-resume strong,
.gpos-payment-ticket-resume span {
  display: block;
}

.gpos-payment-ticket-resume strong {
  font-size: 1.65rem;
  color: var(--rosewood);
}

.gpos-payment-ticket-resume span + span {
  margin-top: 0.3rem;
}

.gpos-payment-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.1rem;
  min-height: 0;
  flex: 0 0 auto;
  overflow: visible;
  padding-right: 0;
  padding-bottom: 0.35rem;
}

.gpos-payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gpos-payment-method {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(180, 99, 107, 0.16);
  border-radius: 16px;
  background: #fffdfa;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.gpos-payment-method input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gpos-payment-method span {
  font-weight: 600;
  color: var(--ink);
}

.gpos-payment-method:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 69, 171, 0.26);
  background: rgba(244, 210, 234, 0.38);
  box-shadow: 0 12px 22px rgba(188, 50, 146, 0.08);
}

.gpos-payment-method:has(input:checked) {
  border-color: rgba(180, 99, 107, 0.5);
  background: rgba(180, 99, 107, 0.12);
  box-shadow: inset 0 0 0 1px rgba(180, 99, 107, 0.2);
}

.gpos-payment-detail {
  display: grid;
  gap: 0.75rem;
  min-height: 0;
}

.gpos-payment-giftcard-editor {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(44, 114, 220, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.gpos-payment-giftcard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.gpos-payment-modal .gpos-confirm-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
  background: transparent;
  justify-content: flex-end;
}

.gpos-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gpos-payment-note {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(180, 99, 107, 0.08);
  color: var(--rosewood);
  line-height: 1.5;
}

.gpos-payment-modal .gpos-discount-button {
  width: fit-content;
  min-width: 220px;
  min-height: 46px;
  padding: 0 1.15rem;
  border-color: rgba(70, 167, 117, 0.24);
  background: linear-gradient(180deg, rgba(228, 249, 235, 0.98) 0%, rgba(210, 243, 221, 0.98) 100%);
  color: #22724a;
  font-weight: 700;
  justify-self: end;
}

.gpos-payment-modal .gpos-discount-button::before {
  content: '-$';
  display: inline-block;
  margin-right: 0.45rem;
  font-weight: 800;
}

.gpos-payment-modal .gpos-payment-giftcard-button {
  border-color: rgba(44, 114, 220, 0.22);
  background: linear-gradient(180deg, rgba(233, 243, 255, 0.98) 0%, rgba(218, 233, 255, 0.98) 100%);
  color: #2157b8;
}

.gpos-payment-modal .gpos-payment-giftcard-button::before {
  content: none;
}

.gpos-payment-modal [data-venta-payment-submit] {
  background: linear-gradient(135deg, #23a2ff 0%, #145cff 100%);
  color: #f8fbff;
  box-shadow: 0 14px 28px rgba(20, 92, 255, 0.18);
}

.gpos-payment-modal [data-venta-payment-cancel] {
  border-color: rgba(214, 69, 171, 0.22);
  background: linear-gradient(135deg, rgba(248, 97, 202, 0.16) 0%, rgba(207, 65, 162, 0.1) 100%);
  color: #b2368e;
}

@media (max-width: 720px) {
  .gpos-payment-modal .gpos-discount-editor-head {
    grid-template-columns: 1fr;
  }

  .gpos-payment-summary-stack {
    justify-items: stretch;
  }

  .gpos-payment-summary-actions {
    justify-content: flex-start;
  }

  .gpos-payment-summary-actions .gpos-discount-button {
    width: 100%;
  }

  .gpos-payment-ticket-resume {
    margin-top: 0.2rem;
  }

  .gpos-payment-method-grid {
    grid-template-columns: 1fr;
  }
}

.gpos-discount-form-row {
  position: relative;
}

.gpos-discount-input {
  width: 100%;
  min-height: 64px;
  padding: 0 3rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.gpos-discount-suffix {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
}

.gpos-discount-helper {
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.gpos-discount-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.gpos-discount-actions .button {
  min-width: 150px;
}

.gpos-field-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.gpos-scan-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.gpos-pay-panel {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  box-shadow: 0 14px 28px rgba(47, 82, 145, 0.12);
}

.gpos-discount-button {
  width: 100%;
  min-height: 42px;
}

.gpos-pay-card {
  width: 100%;
  min-height: 74px;
  border: 1px solid rgba(49, 112, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  color: #1657d8;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.gpos-pay-card-primary {
  min-height: 88px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #23a2ff 0%, #145cff 100%);
  color: #f8fbff;
  box-shadow: 0 18px 34px rgba(25, 90, 255, 0.22);
}

.gpos-pay-card:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(25, 90, 255, 0.26);
}

.gpos-pay-card:disabled {
  filter: saturate(0.7);
  opacity: 0.7;
  cursor: not-allowed;
}

.gpos-history-card {
  box-shadow: 0 14px 30px rgba(89, 64, 67, 0.08);
}

.gpos-history-card h3 {
  margin-bottom: 0.85rem;
}

.gpos-history-card .gpos-product-card-row {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(89, 64, 67, 0.06);
}

.gpos-history-card .gpos-product-card-row strong {
  font-size: 0.95rem;
}

.gpos-history-card .gpos-product-card-row p {
  font-size: 0.84rem;
}

.gpos-panel[data-panel="ventas"].is-active {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 1rem;
  align-items: start;
}

.gpos-panel[data-panel="ventas"].is-active .gpos-shortcut,
.gpos-ventas-topbar-shortcuts .gpos-shortcut {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid #ece7e3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfe 100%);
  color: #334155;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-shadow: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gpos-panel[data-panel="ventas"].is-active .gpos-shortcut.is-active,
.gpos-ventas-topbar-shortcuts .gpos-shortcut.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff5ea8 0%, #d946ef 52%, #a855f7 100%);
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.25);
}

.gpos-panel[data-panel="ventas"].is-active .gpos-shortcut:hover,
.gpos-ventas-topbar-shortcuts .gpos-shortcut:hover {
  transform: none;
}

.gpos-shortcut-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #e95aa9;
}

.gpos-shortcut.is-active .gpos-shortcut-icon {
  color: #fff;
}

.gpos-panel[data-panel="ventas"].is-active .gpos-shortcut:not(.is-active) .gpos-shortcut-icon,
.gpos-ventas-topbar-shortcuts .gpos-shortcut:not(.is-active) .gpos-shortcut-icon {
  color: #f05aa6;
}

.gpos-shortcut-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-shortcut-label {
  line-height: 1;
  white-space: nowrap;
}

.gpos-ventas-card {
  min-height: 760px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  border: 1px solid #ece7e3;
  box-shadow: 0 20px 42px rgba(30, 41, 59, 0.06);
}

.gpos-ventas-content-head {
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1ebe6;
}

.gpos-ventas-head-copy h2 {
  margin: 0.55rem 0 0;
  font-size: 2.2rem;
  line-height: 1.02;
  color: #1e293b;
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
}

.gpos-ventas-head-copy p {
  margin: 0.45rem 0 0;
  color: #7a7d95;
}

.gpos-panel[data-panel="ventas"].is-active .gpos-ventas-head-copy h2,
.gpos-panel[data-panel="ventas"].is-active .gpos-ventas-head-copy p {
  display: none;
}

.gpos-ventas-tag {
  color: #158f66;
  background: linear-gradient(135deg, rgba(197, 252, 226, 0.92) 0%, rgba(225, 255, 243, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(21, 143, 102, 0.1);
}

.gpos-ventas-ticket-detail-shell {
  margin-top: 0.9rem;
  min-height: 560px;
  border: 1px solid #ece7e3;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 249, 251, 0.98) 100%);
  padding: 1rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-lines {
  gap: 0.85rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line {
  grid-template-columns: minmax(0, 2.1fr) 132px 118px 118px;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem 0.75rem 1rem;
  border: 1px solid #efe9e6;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 252, 254, 1) 100%);
  box-shadow: 0 14px 30px rgba(30, 41, 59, 0.05);
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line:hover {
  border-color: rgba(233, 90, 169, 0.22);
  box-shadow: 0 18px 34px rgba(30, 41, 59, 0.08);
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-copy {
  position: relative;
  min-height: 58px;
  padding-left: 4.25rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-media {
  position: absolute;
  left: 0;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  transform: translateY(-50%);
  border: 1px solid rgba(37, 99, 235, 0.08);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-media span {
  color: #98a2b3;
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.2;
  padding: 0.3rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-copy strong {
  font-size: 0.96rem;
  color: #1e293b;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-copy p,
.gpos-ventas-ticket-detail-shell .gpos-ticket-line-meta {
  color: #7a7d95;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-copy p {
  margin: 0.12rem 0 0;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.28rem;
  padding: 0.24rem 0.62rem;
  border: 1px solid #eee4ef;
  border-radius: 999px;
  background: #fff7fb;
  color: #8b5a79;
  font-size: 0.8rem;
  font-weight: 600;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-actions {
  gap: 0.5rem;
  margin-top: 0.42rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-discount {
  color: #9b5cf8;
  font-size: 0.88rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-value {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  padding: 0.65rem 0.6rem;
  border: 1px solid #f1ece8;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-value strong {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 700;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-value p {
  margin: 0;
  color: #7a7d95;
  font-size: 0.8rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-line-value.is-total strong {
  color: #0f2b57;
  font-size: 1.1rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-qty-control {
  justify-content: center;
  gap: 0.38rem;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-qty-button {
  width: 30px;
  height: 30px;
  border: 1px solid #ecdfe8;
  border-radius: 12px;
  color: #e95aa9;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(233, 90, 169, 0.06);
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-qty-number {
  min-width: 24px;
  font-size: 0.95rem;
  color: #1e293b;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-empty {
  justify-items: center;
  gap: 0.6rem;
  color: #7a7d95;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-empty::before {
  content: '';
  width: 82px;
  height: 82px;
  border-radius: 24px;
  border: 1px solid #ece7e3;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 24 24' fill='none' stroke='%23d0b9c9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M2 3h3l2.6 10.4a1 1 0 0 0 1 .8h8.8a1 1 0 0 0 1-.8L21 6H7'/%3E%3C/svg%3E") center/36px 36px no-repeat,
    linear-gradient(180deg, #fff8fc 0%, #ffffff 100%);
  box-shadow: 0 14px 28px rgba(30, 41, 59, 0.05);
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-empty strong {
  font-size: 1.95rem;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
}

.gpos-ventas-ticket-detail-shell .gpos-ticket-empty p {
  max-width: 340px;
  margin: 0;
}

.gpos-ventas-sidecards {
  gap: 1.1rem;
}

.gpos-ventas-sidecards .gpos-sidecard:not(.gpos-ventas-total-card) {
  padding: 1.15rem 1.15rem 1.18rem;
  border: 1px solid #eee6f0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 22px 42px rgba(30, 41, 59, 0.08);
}

.gpos-ventas-total-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.08rem 1.18rem 1.12rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 32%),
    linear-gradient(135deg, #d85f94 0%, #cc5793 46%, #a54eed 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 42px rgba(191, 83, 155, 0.24);
  font-family: 'Poppins', 'Inter', sans-serif;
}

.gpos-total-card-head {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  margin-bottom: 0;
}

.gpos-ventas-total-card span,
.gpos-ventas-total-card p,
.gpos-ventas-total-card small {
  color: rgba(255, 247, 252, 0.86);
}

.gpos-ventas-total-card .gpos-total-card-head > span {
  font-size: 0.9rem;
  font-weight: 600;
}

.gpos-ventas-total-card .gpos-total-card-head > small {
  display: block;
  order: 2;
  margin-top: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.15;
  color: rgba(255, 247, 252, 0.92);
}

.gpos-ventas-total-card strong[data-venta-total] {
  order: 2;
  display: block;
  margin: 0.42rem 0 0;
  font-size: 3.55rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: #fffdfa;
}

.gpos-ventas-total-card p[data-venta-items] {
  order: 3;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(130, 99, 129, 0.88);
  opacity: 1;
}

.gpos-ventas-total-card .gpos-kpi-list {
  order: 4;
  gap: 0.72rem;
  margin-top: 0.95rem;
  padding-top: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.gpos-ventas-total-card .gpos-kpi-line span,
.gpos-ventas-total-card .gpos-kpi-line strong {
  color: #fff;
}

.gpos-ventas-total-card .gpos-kpi-line span,
.gpos-ventas-total-card .gpos-kpi-line strong {
  font-size: 0.94rem;
  font-weight: 600;
}

.gpos-ventas-pay-panel {
  gap: 0.95rem;
  min-height: 128px;
  padding: 1rem 1rem 1.05rem;
}

.gpos-pay-panel-kicker {
  color: #7d88a3;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.gpos-ventas-pay-panel .gpos-pay-card-primary {
  min-height: 72px;
  border: 0;
  border-radius: 19px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: 'Outfit', 'Poppins', sans-serif;
  background: linear-gradient(180deg, #3568ee 0%, #2855df 100%);
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.2);
}

.gpos-ventas-pay-panel .gpos-pay-card-primary::before {
  content: '';
  width: 19px;
  height: 19px;
  display: inline-block;
  margin-right: 0.72rem;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2.5'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M7 15h4'/%3E%3C/svg%3E") center/19px 19px no-repeat;
}

.gpos-ventas-history-card {
  min-height: 174px;
  padding: 0.95rem 1rem 1rem !important;
  box-shadow: 0 22px 40px rgba(89, 64, 67, 0.08);
}

.gpos-history-card-head {
  display: grid;
  gap: 0.32rem;
  margin-bottom: 0.95rem;
}

.gpos-history-card-head h3,
.gpos-history-card-head p {
  margin: 0;
}

.gpos-history-card-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-size: 1.02rem;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-weight: 600;
  color: #1f2a44;
}

.gpos-history-card-head h3::before {
  content: '';
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ff4f93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v4l2.6 1.6'/%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}

.gpos-history-card-head p {
  color: #7a7d95;
  font-size: 0.86rem;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-weight: 400;
}

.gpos-ventas-history-card .gpos-product-card-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 56px 36px;
  gap: 0.6rem;
  align-items: center;
  padding: 0.72rem 0;
  border: 0;
  border-bottom: 1px solid #f1ebf4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gpos-ventas-history-card .gpos-product-card-row:last-child {
  border-bottom: 0;
}

.gpos-venta-history-ticket,
.gpos-venta-history-total {
  color: #1f2a44;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.gpos-venta-history-total {
  justify-self: end;
}

.gpos-venta-history-time {
  color: #7a7d95;
  font-size: 0.84rem;
  text-align: right;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-weight: 400;
}

.gpos-venta-history-action {
  display: flex;
  justify-content: flex-end;
}

.gpos-venta-history-action .gpos-ticket-line-actions {
  margin-top: 0;
}

.gpos-venta-history-action .gpos-icon-button {
  width: 30px;
  height: 30px;
  border-color: #ece6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 41, 59, 0.06);
}

.gpos-venta-history-action .gpos-icon-button svg {
  width: 14px;
  height: 14px;
  stroke: #64748b;
}

.gpos-ventas-history-card [data-venta-history-list] > p {
  margin: 0;
  padding: 1.08rem 0.95rem;
  border: 1px dashed #eddccf;
  border-radius: 18px;
  color: #8b93a6;
  text-align: center;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .gpos-discount-modal {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .gpos-discount-editor-head {
    gap: 0.75rem;
  }

  .gpos-discount-input {
    min-height: 58px;
    font-size: 1.2rem;
  }

  .gpos-discount-actions .button {
    width: 100%;
  }
}

@media (max-height: 820px) {
  .gpos-discount-modal-backdrop {
    place-items: start center;
    padding-block: 0.75rem;
  }

  .gpos-payment-modal {
    max-height: calc(100vh - 1rem);
  }

  .gpos-payment-ticket-resume strong {
    font-size: 1.45rem;
  }

  .gpos-payment-form {
    gap: 0.75rem;
    margin-top: 0.8rem;
  }
}

.gpos-sidecard h3,
.gpos-placeholder-card h2 {
  margin: 0 0 0.55rem;
}

.gpos-sidecard h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  color: var(--sidebar);
}

.gpos-sidecard p,
.gpos-placeholder-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gpos-ventas-history-card .gpos-history-card-head h3 {
  margin: 0;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1f2a44;
}

.gpos-ventas-history-card .gpos-history-card-head p {
  margin: 0;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  color: #7a7d95;
}

.gpos-ventas-pay-panel .gpos-pay-panel-kicker {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;
}

.gpos-ventas-total-card strong[data-venta-total] {
  font-weight: 600;
  letter-spacing: -0.05em;
}

.gpos-ventas-total-card .gpos-kpi-line span,
.gpos-ventas-total-card .gpos-kpi-line strong,
.gpos-venta-history-ticket,
.gpos-venta-history-total {
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.gpos-placeholder-card {
  min-height: 720px;
  padding: 1.3rem;
}

.gpos-caja-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.2rem;
}

.gpos-products-shell {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.gpos-clients-shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.gpos-products-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid rgba(180, 99, 107, 0.22);
}

.gpos-products-tab {
  min-height: 54px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: rgba(31, 36, 48, 0.7);
  cursor: pointer;
  font-weight: 400;
}

.gpos-products-tab.is-active {
  background: rgba(255, 251, 247, 0.96);
  color: var(--ink);
  border-color: rgba(180, 99, 107, 0.22);
  box-shadow: 0 -8px 18px rgba(95, 67, 70, 0.06);
}

.gpos-client-tabs .gpos-products-tab {
  border-bottom: 0;
  background: linear-gradient(135deg, rgba(92, 99, 113, 0.96) 0%, rgba(69, 76, 90, 0.96) 100%);
  color: #f3f5f8;
  box-shadow: 0 10px 22px rgba(44, 50, 61, 0.14);
}

.gpos-client-tabs .gpos-products-tab:hover {
  background: linear-gradient(135deg, rgba(109, 117, 132, 0.98) 0%, rgba(80, 88, 103, 0.98) 100%);
}

.gpos-client-tabs .gpos-products-tab.is-active {
  background: linear-gradient(135deg, rgba(250, 214, 241, 0.95) 0%, rgba(255, 232, 247, 0.98) 100%);
  color: #b2368e;
  border-color: rgba(214, 69, 171, 0.24);
  box-shadow: 0 12px 24px rgba(188, 50, 146, 0.1);
}

.gpos-products-grid.gpos-client-edit-grid-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gpos-products-grid.gpos-client-edit-grid-middle {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

.gpos-products-grid.gpos-client-edit-grid-bottom {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gpos-products-grid.gpos-client-create-grid-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gpos-products-pane[data-client-pane="crear"] .gpos-products-layout {
  grid-template-columns: minmax(0, 1fr);
}

.gpos-client-create-toolbar .search-input {
  min-height: 42px;
  padding: 0 0.9rem;
  font-size: 0.95rem;
}

.gpos-client-create-toolbar .button-primary {
  min-width: 118px;
  min-height: 42px;
  margin-top: 0;
  flex: 0 0 118px;
}

.gpos-products-pane[data-client-pane="crear"] .gpos-form-grid input,
.gpos-products-pane[data-client-pane="crear"] .gpos-form-grid select {
  min-height: 42px;
  padding: 0 0.85rem;
  font-size: 0.95rem;
}

.gpos-products-pane[data-client-pane="crear"] .gpos-form-grid {
  gap: 0.45rem;
}

.gpos-products-pane[data-client-pane="crear"] .field {
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.gpos-products-pane[data-client-pane="crear"] .field label {
  font-size: 0.88rem;
}

.gpos-client-create-actions {
  justify-content: flex-start;
  gap: 0.75rem;
}

.gpos-client-create-save,
.gpos-client-create-cancel {
  width: auto;
  margin-top: 0;
  min-width: 152px;
}

.gpos-client-create-save {
  background: linear-gradient(135deg, #4aa3ff 0%, #1f7cf0 100%);
}

.gpos-client-create-cancel {
  background: linear-gradient(135deg, #ff5aa5 0%, #ff3b77 100%);
}

.gpos-client-edit-actions {
  gap: 0.75rem;
}

.gpos-client-edit-card {
  width: 100%;
}

.gpos-products-pane[data-client-pane="modificar"] .gpos-products-layout {
  grid-template-columns: minmax(0, 1fr);
}

.gpos-products-pane[data-client-pane="modificar"] .gpos-content-card {
  background: #fff;
}

.gpos-client-edit-head {
  align-items: flex-start;
}

.gpos-client-edit-heading {
  min-width: 0;
}

.gpos-client-edit-usage {
  max-width: 340px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(95, 67, 70, 0.06);
}

.gpos-client-edit-usage strong {
  display: block;
  color: var(--sidebar);
}

.gpos-client-edit-usage p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.gpos-client-save-button {
  background: linear-gradient(135deg, #23a2ff 0%, #145cff 100%);
  color: #f8fbff;
  box-shadow: 0 14px 28px rgba(20, 92, 255, 0.18);
}

.gpos-client-cancel-button {
  background: linear-gradient(135deg, #ff705f 0%, #ff3d4d 100%);
  color: #fff7f7;
  box-shadow: 0 14px 28px rgba(255, 61, 77, 0.18);
}

.gpos-products-pane {
  display: none;
}

.gpos-products-pane.is-active {
  display: block;
}

.gpos-mode-strip {
  display: none;
}

.gpos-mode-strip.is-active {
  display: block;
}

.gpos-mode-strip p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.gpos-products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
  width: 100%;
}

.gpos-stock-layout {
  grid-template-columns: minmax(0, 1fr);
}

.gpos-products-pane[data-products-pane="stock"] .gpos-content-card {
  padding: 0.9rem;
}

.gpos-products-pane[data-products-pane="bajas"] .gpos-content-card {
  padding: 0.9rem;
}

.gpos-products-pane[data-products-pane="subcategorias"] .gpos-content-card {
  padding: 0.9rem;
}

.gpos-product-ficha-layout {
  display: block;
  width: 100%;
}

.gpos-panel[data-panel="productos"] .gpos-content-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.gpos-product-ficha-layout.is-create-mode {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.gpos-product-ficha-layout.is-edit-mode {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.gpos-product-ficha-layout.is-create-mode .gpos-product-edit-sidepanel {
  display: none;
}

.gpos-products-pane[data-products-pane="ficha"].is-active,
.gpos-products-pane[data-products-pane="ficha"] .gpos-products-shell,
.gpos-product-ficha-layout.is-create-mode,
.gpos-product-ficha-layout.is-create-mode > .gpos-content-card,
.gpos-product-ficha-layout.is-edit-mode,
.gpos-product-ficha-layout.is-edit-mode > .gpos-content-card {
  width: 100%;
  max-width: none;
}

.gpos-product-ficha-layout.is-create-mode .gpos-content-card,
.gpos-product-ficha-layout.is-edit-mode .gpos-content-card {
  width: 100%;
  justify-self: stretch;
  padding: 1rem;
}

.gpos-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.gpos-subcategory-form-grid {
  grid-template-columns: minmax(210px, 1fr) minmax(210px, 1fr) minmax(150px, 0.62fr);
  gap: 0.75rem;
}

.gpos-products-grid.gpos-product-create-grid-top,
.gpos-products-grid.gpos-product-create-grid-bottom {
  gap: 0.8rem;
}

.gpos-products-grid.gpos-product-create-grid-top {
  grid-template-columns: minmax(260px, 1.45fr) minmax(136px, 0.72fr) minmax(200px, 0.9fr);
}

.gpos-products-grid.gpos-product-create-grid-bottom {
  grid-template-columns: minmax(220px, 1.15fr) minmax(140px, 0.62fr) minmax(120px, 0.56fr);
}

.gpos-products-grid.gpos-product-create-publish-grid {
  grid-template-columns: max-content minmax(320px, 1fr);
  align-items: end;
  column-gap: 1rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-products-grid.gpos-product-create-publish-grid {
  display: grid;
  grid-template-columns: max-content minmax(320px, 1fr);
}

.gpos-textarea {
  width: 100%;
  min-height: 140px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 14px;
  resize: vertical;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.gpos-textarea:focus {
  border-color: var(--rosewood);
  box-shadow: 0 0 0 3px rgba(180, 99, 107, 0.14);
}

.gpos-subsection {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(180, 99, 107, 0.12);
}

.gpos-subsection-head h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--sidebar);
}

.gpos-subsection-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.gpos-variant-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.gpos-variant-row {
  display: grid;
  grid-template-columns: 92px 108px 120px minmax(180px, 1fr) 110px 90px 52px;
  gap: 0.65rem;
}

.gpos-variant-row input {
  min-height: 46px;
  padding: 0 0.85rem;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 12px;
  background: #fff;
  outline: none;
}

.gpos-variant-row input:focus {
  border-color: var(--rosewood);
  box-shadow: 0 0 0 3px rgba(180, 99, 107, 0.14);
}

.gpos-variant-check-button {
  min-height: 46px;
  padding: 0;
}

.gpos-variant-check-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-image-uploader {
  margin-top: 0.95rem;
}

.gpos-upload-dropzone {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
  border: 1px dashed rgba(180, 99, 107, 0.36);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
  cursor: pointer;
}

.gpos-upload-dropzone span {
  color: var(--rosewood);
}

.gpos-upload-dropzone small {
  color: var(--muted);
}

.gpos-image-uploader input[type="file"] {
  display: none;
}

.gpos-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.gpos-image-empty {
  padding: 1rem;
  border: 1px dashed rgba(180, 99, 107, 0.26);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.gpos-image-card {
  overflow: hidden;
  border: 1px solid rgba(180, 99, 107, 0.16);
  border-radius: 18px;
  background: #fff;
}

.gpos-image-card.is-principal {
  border-color: #62a8e5;
  box-shadow: 0 0 0 2px rgba(98, 168, 229, 0.22);
}

.gpos-image-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
}

.gpos-image-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.gpos-image-card-body strong {
  font-weight: 400;
}

.gpos-image-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.gpos-image-card-actions {
  display: flex;
  gap: 0.55rem;
}

.gpos-image-card-actions .button {
  flex: 1;
  min-height: 40px;
}

.gpos-image-card-actions .button.is-primary-selected {
  border-color: #62a8e5;
  background: rgba(98, 168, 229, 0.14);
  color: #2d6fa8;
}

.gpos-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.gpos-subcategory-form-actions {
  margin-top: 0.8rem;
}

.gpos-form-actions .button-primary {
  width: auto;
  margin-top: 0;
}

.gpos-product-reset-button {
  color: #17482b;
  background: linear-gradient(135deg, #dffdcb 0%, #aef08f 100%);
  box-shadow: 0 14px 28px rgba(84, 214, 102, 0.24);
}

.gpos-product-save-button {
  color: #f8fbff;
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%);
  box-shadow: 0 14px 28px rgba(0, 87, 255, 0.24);
}

.gpos-product-cancel-button {
  color: #fff7f7;
  background: linear-gradient(135deg, #ff5a7a 0%, #ff143c 100%);
  box-shadow: 0 14px 28px rgba(255, 20, 60, 0.24);
}

.gpos-add-variant-button {
  color: #6f5710;
  background: linear-gradient(135deg, #fff7bf 0%, #ffe58a 100%);
  border-color: rgba(214, 177, 47, 0.28);
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(255, 214, 72, 0.22);
}

.gpos-products-pane[data-products-pane="categorias"] .gpos-category-reset-button {
  color: #f8fbff !important;
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%) !important;
  border: 1px solid rgba(0, 87, 255, 0.22) !important;
  box-shadow: 0 14px 28px rgba(0, 87, 255, 0.24) !important;
  font-weight: 700 !important;
}

.gpos-products-pane[data-products-pane="categorias"] .gpos-category-save-button {
  color: #17482b !important;
  background: linear-gradient(135deg, #7dff8f 0%, #1fdb66 100%) !important;
  border: 1px solid rgba(31, 157, 99, 0.24) !important;
  box-shadow: 0 14px 28px rgba(31, 157, 99, 0.24) !important;
  font-weight: 700 !important;
}

.gpos-products-pane[data-products-pane="subcategorias"] .gpos-subcategory-reset-button {
  color: #f8fbff !important;
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%) !important;
  border: 1px solid rgba(0, 87, 255, 0.22) !important;
  box-shadow: 0 14px 28px rgba(0, 87, 255, 0.24) !important;
  font-weight: 700 !important;
}

.gpos-products-pane[data-products-pane="subcategorias"] .gpos-subcategory-save-button {
  color: #17482b !important;
  background: linear-gradient(135deg, #7dff8f 0%, #1fdb66 100%) !important;
  border: 1px solid rgba(31, 157, 99, 0.24) !important;
  box-shadow: 0 14px 28px rgba(31, 157, 99, 0.24) !important;
  font-weight: 700 !important;
}

.gpos-products-toolbar {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gpos-products-toolbar-edit {
  margin-top: 1.1rem;
}

.gpos-products-toolbar-edit .search-input {
  min-height: 54px;
}

.gpos-product-create-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 132px;
  width: min(100%, 664px);
  max-width: 100%;
}

.gpos-product-create-toolbar .search-input {
  min-height: 42px;
  padding: 0 0.85rem;
  font-size: 0.92rem;
  width: 100%;
}

.gpos-products-toolbar .search-input {
  flex: 1 1 320px;
}

.gpos-products-toolbar .button-primary {
  width: auto;
  min-width: 160px;
  min-height: 54px;
  flex: 0 0 160px;
}

.gpos-product-create-toolbar .button-primary {
  min-width: 132px;
  min-height: 42px;
  flex-basis: 132px;
  margin-top: 0;
  padding: 0 0.9rem;
  font-size: 0.92rem;
}

.gpos-product-create-field-shortdesc {
  min-width: 0;
  width: 100%;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-content-head {
  padding-bottom: 0.8rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-content-head h2 {
  margin-top: 0.25rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-mode-strip p {
  margin-top: 0.7rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-products-form {
  margin-top: 0.2rem;
}

.gpos-products-pane[data-products-pane="ficha"] .field {
  margin-top: 0.7rem;
}

.gpos-products-pane[data-products-pane="ficha"] .field label {
  font-size: 0.88rem;
}

.gpos-products-pane[data-products-pane="ficha"] .field input,
.gpos-products-pane[data-products-pane="ficha"] .field select {
  min-height: 42px;
  padding: 0 0.85rem;
  font-size: 0.95rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch {
  width: fit-content;
  border-color: rgba(38, 55, 75, 0.12);
  background: #f3f4f6;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch-option {
  min-width: 76px;
  padding: 0 0.8rem;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch input:checked + .gpos-inline-switch-option-on {
  background: linear-gradient(135deg, #d7f6de 0%, #bdeec8 100%);
  color: #235c3a;
  font-weight: 700;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch input:checked + .gpos-inline-switch-option-on + .gpos-inline-switch-option-off {
  background: #f1f3f5;
  color: #7b6f72;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch input:not(:checked) + .gpos-inline-switch-option-on {
  background: #f1f3f5;
  color: #7b6f72;
}

.gpos-products-pane[data-products-pane="ficha"] .gpos-inline-switch input:not(:checked) + .gpos-inline-switch-option-on + .gpos-inline-switch-option-off {
  background: linear-gradient(180deg, #f2f3f5 0%, #e5e7eb 100%);
  color: #596273;
  font-weight: 700;
}

.gpos-products-toolbar select,
.gpos-form-grid select,
.gpos-products-grid select {
  width: 100%;
  min-height: 54px;
  padding: 0 0.95rem;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font: inherit;
}

.gpos-products-toolbar select:focus,
.gpos-form-grid select:focus,
.gpos-products-grid select:focus {
  border-color: var(--rosewood);
  box-shadow: 0 0 0 3px rgba(180, 99, 107, 0.14);
}

.gpos-table-shell {
  margin-top: 1rem;
  overflow: auto;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 16px;
}

.gpos-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.gpos-table th,
.gpos-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(180, 99, 107, 0.1);
  text-align: left;
  white-space: nowrap;
}

.gpos-table th {
  color: var(--muted);
  font-weight: 400;
  background: #fff8f4;
}

.gpos-products-stack {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gpos-products-pane[data-products-pane="categorias"] [data-category-list] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.gpos-products-pane[data-products-pane="subcategorias"] [data-subcategory-list] {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.gpos-product-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(180, 99, 107, 0.12);
  border-radius: 16px;
  background: #fff;
}

.gpos-product-card-row strong {
  font-weight: 400;
}

.gpos-category-card {
  min-height: 132px;
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(38, 55, 75, 0.16);
}

.gpos-category-card.is-cyan {
  background: linear-gradient(135deg, #19b4cf 0%, #14a3d4 100%);
}

.gpos-category-card.is-orange {
  background: linear-gradient(135deg, #ff6a1f 0%, #ff7f1d 100%);
}

.gpos-category-card.is-pink {
  background: linear-gradient(135deg, #ec196d 0%, #d91578 100%);
}

.gpos-category-card.is-teal {
  background: linear-gradient(135deg, #0aa68d 0%, #0f9688 100%);
}

.gpos-category-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.gpos-category-card-top strong {
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.gpos-category-card-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
}

.gpos-category-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-category-card-body {
  display: grid;
  gap: 0.22rem;
  align-content: end;
  position: relative;
  padding-right: 3rem;
}

.gpos-category-card-body h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
}

.gpos-category-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.3;
}

.gpos-category-edit-button {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(22, 30, 40, 0.12);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.gpos-category-edit-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.38);
}

.gpos-category-edit-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-subcategory-card {
  overflow: hidden;
  min-height: 246px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(38, 55, 75, 0.14);
  display: grid;
  grid-template-rows: 104px 1fr;
}

.gpos-subcategory-card-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 1.05rem;
  color: #ffffff;
}

.gpos-subcategory-card-hero::after {
  content: '';
  position: absolute;
  inset: auto -12% -58px -12%;
  height: 128px;
  border-radius: 0 0 50% 50%;
  background: inherit;
}

.gpos-subcategory-card.is-amber .gpos-subcategory-card-hero {
  background: linear-gradient(135deg, #ffbf0f 0%, #ff9c00 100%);
}

.gpos-subcategory-card.is-rose .gpos-subcategory-card-hero {
  background: linear-gradient(135deg, #eb2679 0%, #d61e6f 100%);
}

.gpos-subcategory-card.is-violet .gpos-subcategory-card-hero {
  background: linear-gradient(135deg, #c000ff 0%, #8c08ff 100%);
}

.gpos-subcategory-card.is-sky .gpos-subcategory-card-hero {
  background: linear-gradient(135deg, #24b3ff 0%, #178ae8 100%);
}

.gpos-subcategory-card.is-emerald .gpos-subcategory-card-hero {
  background: linear-gradient(135deg, #24c76d 0%, #14a95d 100%);
}

.gpos-subcategory-card-hero strong {
  position: relative;
  z-index: 1;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.gpos-subcategory-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.45rem;
  padding: 0.95rem 1rem 1rem;
  text-align: center;
}

.gpos-subcategory-card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
}

.gpos-subcategory-card-body p {
  margin: 0;
  color: #6f6f7b;
  font-size: 0.86rem;
  line-height: 1.35;
}

.gpos-subcategory-card-body small {
  color: #7b6f72;
  font-size: 0.82rem;
  line-height: 1.3;
}

.gpos-subcategory-edit-button {
  width: 42px;
  height: 42px;
  margin: 0.15rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%);
  box-shadow: 0 12px 22px rgba(0, 87, 255, 0.2);
  cursor: pointer;
}

.gpos-subcategory-edit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-stock-table-shell {
  margin-top: 0.72rem;
}

.gpos-stock-search-button {
  border-color: rgba(0, 87, 255, 0.22);
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%);
  color: #f8fbff;
  box-shadow: 0 10px 22px rgba(0, 87, 255, 0.16);
}

.gpos-stock-search-button:hover {
  border-color: rgba(0, 87, 255, 0.3);
  background: linear-gradient(135deg, #32d7ff 0%, #0049d8 100%);
  color: #ffffff;
}

.gpos-stock-refresh-button {
  border-color: rgba(214, 69, 171, 0.22);
  background: linear-gradient(135deg, #ff86dc 0%, #bc3292 100%);
  color: #fff8fd;
  box-shadow: 0 10px 22px rgba(188, 50, 146, 0.16);
}

.gpos-stock-refresh-button:hover {
  border-color: rgba(214, 69, 171, 0.3);
  background: linear-gradient(135deg, #ff9be3 0%, #a92681 100%);
  color: #ffffff;
}

.gpos-bajas-search-button {
  border-color: rgba(0, 87, 255, 0.22);
  background: linear-gradient(135deg, #1fd0ff 0%, #0057ff 100%);
  color: #f8fbff;
  box-shadow: 0 10px 22px rgba(0, 87, 255, 0.16);
}

.gpos-bajas-search-button:hover {
  border-color: rgba(0, 87, 255, 0.3);
  background: linear-gradient(135deg, #32d7ff 0%, #0049d8 100%);
  color: #ffffff;
}

.gpos-bajas-refresh-button {
  border-color: rgba(214, 69, 171, 0.22);
  background: linear-gradient(135deg, #ff86dc 0%, #bc3292 100%);
  color: #fff8fd;
  box-shadow: 0 10px 22px rgba(188, 50, 146, 0.16);
}

.gpos-bajas-refresh-button:hover {
  border-color: rgba(214, 69, 171, 0.3);
  background: linear-gradient(135deg, #ff9be3 0%, #a92681 100%);
  color: #ffffff;
}

.gpos-bajas-table-shell {
  margin-top: 0.72rem;
}

.gpos-bajas-table-shell .gpos-table th,
.gpos-bajas-table-shell .gpos-table td {
  padding: 0.55rem 0.78rem;
}

.gpos-bajas-table-shell .gpos-table td {
  line-height: 1.12;
  font-size: 0.95rem;
  vertical-align: middle;
}

.gpos-bajas-table-shell .gpos-table th {
  padding-top: 0.52rem;
  padding-bottom: 0.52rem;
  font-size: 0.92rem;
}

.gpos-bajas-product {
  display: grid;
  gap: 0.18rem;
  min-width: 220px;
}

.gpos-bajas-product strong {
  font-weight: 500;
}

.gpos-bajas-product small,
.gpos-bajas-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.gpos-bajas-action-button {
  min-width: 130px;
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(38, 55, 75, 0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fbf5f7 100%);
  color: var(--sidebar);
  box-shadow: 0 8px 18px rgba(38, 55, 75, 0.08);
}

.gpos-bajas-action-button.is-activate {
  border-color: rgba(31, 157, 99, 0.22);
  background: linear-gradient(135deg, #f4fff8 0%, #e2ffec 100%);
  color: #137949;
  box-shadow: 0 10px 20px rgba(31, 157, 99, 0.12);
}

.gpos-bajas-action-button.is-deactivate {
  border-color: rgba(214, 69, 171, 0.2);
  background: linear-gradient(135deg, #fff7fd 0%, #ffe8f8 100%);
  color: #8d2f70;
  box-shadow: 0 10px 20px rgba(188, 50, 146, 0.12);
}

.gpos-bajas-action-button:hover {
  transform: translateY(-1px);
}

.gpos-bajas-pagination {
  margin-top: 0.9rem;
}

.gpos-stock-table-shell .gpos-table th,
.gpos-stock-table-shell .gpos-table td {
  padding: 0.42rem 0.72rem;
}

.gpos-stock-table-shell .gpos-table td {
  line-height: 1.05;
  font-size: 0.95rem;
}

.gpos-stock-table-shell .gpos-table th {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.92rem;
}

.gpos-stock-table-shell .gpos-table input[type="number"] {
  min-height: 30px;
  width: 3.4ch;
  min-width: 3.4ch;
  max-width: 3.4ch;
  padding: 0.2rem 0.15rem;
  font-size: 0.94rem;
  text-align: center;
}

.gpos-stock-table-shell .gpos-table input[type="number"]::-webkit-outer-spin-button,
.gpos-stock-table-shell .gpos-table input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gpos-stock-table-shell .gpos-table input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.gpos-stock-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.72rem;
  width: fit-content;
  margin: 0.9rem auto 0;
  padding-top: 0.08rem;
}

.gpos-stock-pagination .field-hint {
  margin: 0;
  min-width: 146px;
  text-align: center;
  font-weight: 600;
}

.gpos-stock-save-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(38, 55, 75, 0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  color: #1f9d63;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 157, 99, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.gpos-stock-save-button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 157, 99, 0.34);
  background: linear-gradient(135deg, #f5fff9 0%, #e7fff0 100%);
  color: #137949;
  box-shadow: 0 12px 22px rgba(31, 157, 99, 0.18);
}

.gpos-stock-save-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-stock-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.gpos-stock-stepper-button {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(38, 55, 75, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #567188;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.gpos-stock-stepper-button:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 151, 208, 0.3);
  color: #1a80bc;
  background: #f7fbff;
  box-shadow: 0 8px 16px rgba(45, 151, 208, 0.12);
}

.gpos-stock-stepper-button svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.gpos-product-card-row p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.gpos-product-preview-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 63, 142, 0.78) 0, rgba(255, 63, 142, 0.78) 4px, transparent 4px),
    linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  box-shadow: 0 14px 26px rgba(88, 61, 108, 0.05);
}

.gpos-product-browser-grid .gpos-product-preview-row {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gpos-product-browser-grid .gpos-product-preview-row:hover,
.gpos-product-preview-row.is-active {
  border-color: rgba(214, 69, 171, 0.22);
  box-shadow: 0 16px 30px rgba(88, 61, 108, 0.09);
  transform: translateY(-1px);
}

.gpos-product-preview-row.is-active {
  background:
    linear-gradient(90deg, rgba(31, 208, 255, 0.94) 0, rgba(31, 208, 255, 0.94) 4px, transparent 4px),
    linear-gradient(180deg, #fff8fc 0%, #fff 100%);
}

.gpos-product-preview-thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff7fb 100%);
  display: grid;
  place-items: center;
  color: #7a7d95;
  font-size: 0.72rem;
  text-align: center;
}

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

.gpos-product-preview-copy strong {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.3;
}

.gpos-product-preview-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.94rem;
}

.gpos-product-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.gpos-product-preview-footer p {
  margin: 0;
  flex: 1 1 auto;
}

.gpos-product-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.gpos-product-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(180, 99, 107, 0.1);
  color: var(--rosewood);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gpos-product-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.32rem;
}

.gpos-product-preview-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 245, 240, 0.95);
  border: 1px solid rgba(180, 99, 107, 0.1);
  color: #6e5c63;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gpos-product-preview-copy {
  min-width: 0;
}

.gpos-product-browser-grid .gpos-product-preview-top strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gpos-product-preview-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.gpos-product-preview-view-button {
  min-width: 94px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.35rem 0.78rem;
  border: 1px solid rgba(52, 145, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #39a6ff 0%, #2f63f1 100%);
  color: #fff;
  box-shadow: 0 10px 18px rgba(47, 99, 241, 0.18);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.gpos-product-preview-view-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 99, 241, 0.24);
  filter: brightness(1.03);
}

.gpos-product-preview-view-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-caja-status {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(180, 99, 107, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff2eb 100%);
}

.gpos-caja-status strong,
.gpos-caja-status p {
  display: block;
}

.gpos-caja-status p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.gpos-form-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gpos-form-grid.is-hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.gpos-products-form.is-hidden {
  display: none;
}

.gpos-kpi-list,
.gpos-cuadratura-board,
.gpos-list-stack {
  display: grid;
  gap: 0.75rem;
}

.gpos-kpi-line,
.gpos-detail-line,
.gpos-movimiento-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.gpos-kpi-line span,
.gpos-detail-line span,
.gpos-movimiento-row p {
  color: var(--muted);
}

.gpos-kpi-line strong,
.gpos-detail-line strong,
.gpos-movimiento-row strong,
.gpos-movimiento-row span {
  color: var(--ink);
  font-weight: 400;
}

.gpos-inline-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-height: 54px;
  align-items: center;
}

.gpos-inline-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(180, 99, 107, 0.16);
  border-radius: 14px;
  background: #fffaf8;
}

.gpos-inline-radio input {
  margin: 0;
}

.gpos-client-account-board {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(180, 99, 107, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
}

.gpos-cuadratura-layout {
  gap: 1.1rem;
}

.gpos-cuadratura-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 247, 251, 0.98) 100%);
  border-color: #efe6f3;
  box-shadow: 0 24px 48px rgba(88, 61, 108, 0.08);
}

.gpos-cuadratura-hero {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(239, 230, 243, 0.9);
}

.gpos-cuadratura-tag {
  background: linear-gradient(135deg, rgba(236, 247, 255, 0.96) 0%, rgba(223, 238, 255, 0.96) 100%);
  color: #1a66d9;
  border: 1px solid rgba(147, 201, 255, 0.28);
}

.gpos-cuadratura-hero h2 {
  margin-bottom: 0.45rem;
}

.gpos-cuadratura-hero p {
  margin: 0;
  max-width: 56rem;
  color: #7a7d95;
  line-height: 1.5;
}

.gpos-cuadratura-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(190px, 230px) 150px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.gpos-cuadratura-toolbar select,
.gpos-cuadratura-toolbar .search-input,
.gpos-cuadratura-toolbar .button {
  min-height: 48px;
  border-radius: 16px;
}

.gpos-cuadratura-toolbar .button {
  min-width: 150px;
  color: #1b5fd1;
  border-color: rgba(169, 214, 255, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%);
  box-shadow: 0 12px 24px rgba(7, 65, 148, 0.16);
}

.gpos-cuadratura-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(231, 222, 240, 0.92);
  background: linear-gradient(180deg, rgba(251, 251, 255, 0.98) 0%, rgba(247, 244, 255, 0.98) 100%);
}

.gpos-cuadratura-board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.gpos-cuadratura-metric {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.07), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
  box-shadow: 0 14px 28px rgba(88, 61, 108, 0.05);
}

.gpos-cuadratura-metric span {
  color: #7f8198;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gpos-cuadratura-metric strong {
  color: #15162e;
  font-size: 1.04rem;
  line-height: 1.2;
}

.gpos-cuadratura-metric.is-accent {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 44%),
    linear-gradient(135deg, rgba(255, 63, 142, 0.12) 0%, rgba(139, 92, 246, 0.16) 100%);
  border-color: rgba(211, 184, 242, 0.96);
}

.gpos-cuadratura-metric.is-accent strong {
  color: #8b2f80;
}

.gpos-cuadratura-actions-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
  margin-top: 1rem;
}

.gpos-cuadratura-input-card,
.gpos-cuadratura-balance-card,
.gpos-cuadratura-sidecard {
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.98) 100%);
  box-shadow: 0 16px 30px rgba(88, 61, 108, 0.05);
}

.gpos-cuadratura-input-card {
  padding: 0.95rem 1rem;
}

.gpos-cuadratura-input-card .field,
.gpos-cuadratura-close-form .field {
  gap: 0.35rem;
}

.gpos-cuadratura-input-card input,
.gpos-cuadratura-close-form input {
  min-height: 46px;
  border-radius: 15px;
}

.gpos-cuadratura-balance-card {
  margin-top: 0;
  padding: 1rem 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 249, 252, 0.98) 0%, rgba(251, 244, 255, 0.98) 100%);
}

.gpos-cuadratura-balance-card .gpos-kpi-line {
  display: grid;
  gap: 0.2rem;
  justify-content: start;
}

.gpos-cuadratura-balance-card .gpos-kpi-line span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gpos-cuadratura-balance-card .gpos-kpi-line strong {
  font-size: 1.08rem;
}

.gpos-cuadratura-close-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 251, 0.98) 100%);
}

.gpos-cuadratura-close-form .button-secondary {
  width: fit-content;
  min-width: 220px;
  min-height: 48px;
  margin-top: 0.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.2);
}

.gpos-cuadratura-feedback {
  margin: 0.75rem 0 0;
  padding: 0.1rem 0.1rem 0;
  color: #8a6880;
}

.gpos-cuadratura-sidecards {
  gap: 1rem;
}

.gpos-cuadratura-sidecard {
  padding: 1rem 1.05rem;
}

.gpos-cuadratura-sidecard h3 {
  margin-bottom: 0.8rem;
}

.gpos-cuadratura-sidecard .gpos-list-stack {
  gap: 0.65rem;
}

.gpos-movimientos-card {
  min-height: auto;
  background:
    radial-gradient(circle at top right, rgba(73, 188, 255, 0.08), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 63, 142, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 247, 251, 0.98) 100%);
  border-color: #efe6f3;
  box-shadow: 0 24px 48px rgba(88, 61, 108, 0.08);
}

.gpos-movimientos-head {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(239, 230, 243, 0.92);
}

.gpos-movimientos-tag {
  background: linear-gradient(135deg, rgba(255, 240, 247, 0.98) 0%, rgba(247, 232, 244, 0.98) 100%);
  color: #c16b74;
  border: 1px solid rgba(227, 188, 195, 0.34);
}

.gpos-movimientos-status {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(239, 223, 228, 0.96);
  background:
    radial-gradient(circle at top right, rgba(255, 188, 210, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 250, 0.98) 0%, rgba(255, 246, 240, 0.98) 100%);
}

.gpos-movimientos-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.05rem;
}

.gpos-movimientos-grid {
  gap: 0.95rem;
}

.gpos-movimientos-form .field {
  gap: 0.38rem;
}

.gpos-movimientos-form input {
  min-height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(88, 61, 108, 0.05);
}

.gpos-movimientos-choice {
  gap: 0.8rem;
  min-height: auto;
}

.gpos-movimientos-radio {
  position: relative;
  min-width: 104px;
  min-height: 62px;
  justify-content: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(239, 230, 243, 0.96);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff7fb 100%);
  box-shadow: 0 12px 24px rgba(88, 61, 108, 0.05);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gpos-movimientos-radio:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 69, 171, 0.24);
  box-shadow: 0 16px 28px rgba(188, 50, 146, 0.08);
}

.gpos-movimientos-radio:has(input:checked) {
  border-color: rgba(214, 69, 171, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 247, 251, 0.98) 0%, rgba(246, 241, 255, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 69, 171, 0.12), 0 16px 28px rgba(188, 50, 146, 0.08);
}

.gpos-movimientos-radio input {
  margin: 0;
}

.gpos-movimientos-radio span {
  font-weight: 700;
  color: #1b2440;
}

.gpos-movimientos-actions {
  margin-top: 0.15rem;
  padding-top: 0.2rem;
  justify-content: flex-start;
  gap: 0.75rem;
}

.gpos-movimientos-reset,
.gpos-movimientos-submit {
  min-height: 46px;
  border-radius: 16px;
}

.gpos-movimientos-reset {
  min-width: 112px;
  border-color: rgba(202, 216, 235, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
  color: #20365d;
}

.gpos-movimientos-submit {
  min-width: 188px;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.22);
}

.gpos-movimientos-feedback {
  margin: 0.1rem 0 0;
  color: #8a6880;
}

.gpos-movimientos-sidecards {
  gap: 1rem;
}

.gpos-movimientos-sidecard {
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.98) 100%);
  border: 1px solid rgba(239, 230, 243, 0.96);
  box-shadow: 0 16px 30px rgba(88, 61, 108, 0.05);
}

.gpos-movimientos-sidecard h3 {
  margin-bottom: 0.8rem;
}

.gpos-movimientos-sidecard [data-movimientos-kpis] {
  gap: 0.65rem;
}

.gpos-movimientos-sidecard [data-movimientos-kpis] .gpos-kpi-line {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
}

.gpos-movimientos-sidecard [data-movimientos-list] {
  gap: 0.7rem;
}

.gpos-caja-card {
  min-height: auto;
  background:
    radial-gradient(circle at top right, rgba(73, 188, 255, 0.08), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 63, 142, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 247, 251, 0.98) 100%);
  border-color: #efe6f3;
  box-shadow: 0 24px 48px rgba(88, 61, 108, 0.08);
}

.gpos-caja-head {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(239, 230, 243, 0.92);
}

.gpos-caja-tag {
  background: linear-gradient(135deg, rgba(255, 240, 247, 0.98) 0%, rgba(247, 232, 244, 0.98) 100%);
  color: #c16b74;
  border: 1px solid rgba(227, 188, 195, 0.34);
}

.gpos-caja-status-card {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(239, 223, 228, 0.96);
  background:
    radial-gradient(circle at top right, rgba(255, 188, 210, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 250, 0.98) 0%, rgba(255, 246, 240, 0.98) 100%);
}

.gpos-caja-open-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.05rem;
  max-width: 760px;
}

.gpos-caja-open-form .field {
  gap: 0.38rem;
}

.gpos-caja-open-form input {
  min-height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(88, 61, 108, 0.05);
}

.gpos-caja-submit {
  width: fit-content;
  min-width: 188px;
  min-height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.22);
}

.gpos-caja-feedback {
  margin: 0.75rem 0 0;
  color: #8a6880;
}

.gpos-cuadratura-detail-row,
.gpos-cuadratura-movement-row {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
}

.gpos-cuadratura-detail-row span,
.gpos-cuadratura-movement-row p {
  color: #7a7d95;
}

.gpos-cuadratura-detail-row strong,
.gpos-cuadratura-movement-row strong,
.gpos-cuadratura-movement-row span {
  color: #1b2440;
  font-weight: 600;
}

.gpos-client-history-modal {
  width: min(760px, calc(100vw - 2rem));
}

.gpos-movimiento-row {
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(239, 230, 243, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
}

.gpos-movimiento-row:last-child {
  margin-bottom: 0;
}

.gpos-movimiento-row p {
  margin: 0.25rem 0 0;
  line-height: 1.5;
  color: #7a7d95;
}

.gpos-movimiento-row strong,
.gpos-movimiento-row span {
  color: #1b2440;
  font-weight: 600;
}

.gpos-reportes-shell {
  display: grid;
  gap: 1.2rem;
}

.gpos-report-dashboard-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #efe6f3;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.12), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(139, 92, 246, 0.11), transparent 20%),
    linear-gradient(180deg, #fffdfd 0%, #fff7fb 100%);
  box-shadow: 0 26px 54px rgba(48, 32, 86, 0.1);
}

.gpos-report-dashboard-card::before {
  content: '';
  position: absolute;
  inset: -120px -60px auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 63, 142, 0.12) 0%, rgba(255, 63, 142, 0) 70%);
  pointer-events: none;
}

.gpos-report-dashboard-card::after {
  content: '';
  position: absolute;
  top: 74px;
  right: 94px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 63, 142, 0.18);
  box-shadow:
    18px 16px 0 rgba(255, 63, 142, 0.1),
    42px 2px 0 rgba(139, 92, 246, 0.12),
    56px 26px 0 rgba(255, 63, 142, 0.08),
    12px 44px 0 rgba(139, 92, 246, 0.1);
  pointer-events: none;
}

.gpos-report-dashboard-hero,
.gpos-report-dashboard-surface,
.gpos-report-kpi-grid,
.gpos-report-grid,
.gpos-report-table-section {
  position: relative;
  z-index: 1;
}

.gpos-report-dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 0.25rem;
}

.gpos-report-dashboard-copy {
  display: grid;
  gap: 0.55rem;
  max-width: 720px;
}

.gpos-report-dashboard-tag,
.gpos-report-dashboard-sectiontag,
.gpos-report-mini-tag {
  background: #fff0f7;
  color: #ff3f8e;
  border: 1px solid rgba(255, 63, 142, 0.16);
}

.gpos-report-dashboard-copy h2 {
  margin: 0;
  color: #15162e;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  line-height: 1.08;
  font-weight: 700;
}

.gpos-report-dashboard-copy p {
  margin: 0;
  max-width: 62ch;
  color: #7a7d95;
  line-height: 1.65;
}

.gpos-report-dashboard-pills {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gpos-report-dashboard-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid #efe6f3;
  background: rgba(255, 255, 255, 0.88);
  color: #7a7d95;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(48, 32, 86, 0.06);
}

.gpos-report-dashboard-pill.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  color: #ffffff;
}

.gpos-report-dashboard-surface {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 1.3rem;
  border: 1px solid #efe6f3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.gpos-report-dashboard-sectionhead h3 {
  margin: 0.32rem 0 0;
  color: #15162e;
  font-size: 1.08rem;
  font-weight: 700;
}

.gpos-reportes-toolbar {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0;
}

.gpos-reportes-toolbar-premium .search-input,
.gpos-reportes-toolbar-premium select {
  min-height: 48px;
  border: 1px solid #efe6f3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(48, 32, 86, 0.05);
}

.gpos-reportes-toolbar-premium .search-input::placeholder {
  color: #b0b2c3;
}

.gpos-reportes-toolbar .search-input,
.gpos-reportes-toolbar select,
.gpos-reportes-toolbar .button {
  flex: 1 1 180px;
}

.gpos-reportes-toolbar .button {
  min-height: 48px;
}

.gpos-report-refresh-button {
  border-color: transparent;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.22);
}

.gpos-report-refresh-button:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5a9f 0%, #7b4ef0 100%);
}

.gpos-report-status-card {
  margin-top: 0;
  border: 1px solid #efe6f3;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 240, 247, 0.92) 100%);
  box-shadow: 0 18px 32px rgba(48, 32, 86, 0.07);
}

.gpos-report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.gpos-report-kpi-grid-premium {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gpos-report-metric {
  display: grid;
  gap: 0.45rem;
  min-height: 146px;
  padding: 1.15rem 1.1rem;
  border: 1px solid #efe6f3;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
  box-shadow: 0 16px 30px rgba(48, 32, 86, 0.08);
}

.gpos-report-metric span,
.gpos-report-metric small {
  color: #7a7d95;
}

.gpos-report-metric strong {
  color: #15162e;
  font-size: 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gpos-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.gpos-report-grid-spotlight {
  grid-template-columns: 1.2fr 0.8fr;
}

.gpos-report-card {
  min-width: 0;
  border: 1px solid #efe6f3;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
  box-shadow: 0 22px 38px rgba(48, 32, 86, 0.08);
}

.gpos-report-card-feature {
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff6fb 100%);
}

.gpos-report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.gpos-report-card h3 {
  margin: 0.4rem 0 0;
  color: #15162e;
  font-size: 1.1rem;
  font-weight: 700;
}

.gpos-report-table-section {
  margin-top: 1.2rem;
  padding: 1.1rem;
  border: 1px solid #efe6f3;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  box-shadow: 0 22px 38px rgba(48, 32, 86, 0.08);
}

.gpos-report-table-section-wide .gpos-table-shell {
  margin-top: 0;
}

.gpos-report-table-head {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.gpos-report-bar-list {
  display: grid;
  gap: 0.8rem;
}

.gpos-report-bar-row {
  display: grid;
  gap: 0.45rem;
}

.gpos-report-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.gpos-report-bar-meta strong {
  font-weight: 700;
  color: #15162e;
}

.gpos-report-bar-meta span,
.gpos-report-bar-caption {
  color: #7a7d95;
}

.gpos-report-bar-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
}

.gpos-report-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff3f8e 0%, #8b5cf6 100%);
}

.gpos-report-empty {
  margin: 0;
  color: #7a7d95;
}

.gpos-report-card .gpos-kpi-list,
.gpos-report-card .gpos-list-stack {
  gap: 0.78rem;
}

.gpos-report-card .gpos-kpi-line {
  padding: 0.78rem 0.9rem;
  border: 1px solid #f2eaf5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.gpos-report-card .gpos-kpi-line span {
  color: #7a7d95;
}

.gpos-panel[data-panel="devoluciones"] {
  padding: 0.4rem 0.65rem 0.65rem;
  border-radius: 0;
  background: transparent;
}

.gpos-panel[data-panel="devoluciones"] .gpos-products-shell {
  background: transparent;
}

.gpos-devoluciones-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow: 0 26px 48px rgba(32, 68, 126, 0.16);
}

.gpos-devoluciones-hero {
  padding: 1.2rem 1.4rem 1.35rem;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(78, 195, 247, 0.92) 0%, rgba(29, 94, 179, 0.96) 100%);
}

.gpos-devoluciones-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.gpos-devoluciones-hero p {
  margin: 0.7rem 0 0;
  color: rgba(245, 250, 255, 0.94);
  font-size: 1rem;
}

.gpos-devoluciones-surface {
  margin: 0;
  padding: 1rem;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.99) 0%, rgba(242, 247, 255, 0.98) 100%);
  box-shadow: none;
}

.gpos-devoluciones-toolbar {
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 0;
  justify-content: center;
  flex-wrap: nowrap;
}

.gpos-devoluciones-toolbar .search-input {
  flex: 0 0 auto;
  width: min(100%, 240px);
  max-width: 240px;
  min-height: 50px;
  border: 1px solid #efe6f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(48, 32, 86, 0.05);
}

.gpos-devoluciones-search-button {
  flex: 0 0 auto;
  min-height: 50px;
  min-width: 136px;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5aa5 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(139, 92, 246, 0.2);
}

.gpos-devoluciones-search-button:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff6eb0 0%, #7b4ef0 100%);
}

.gpos-devoluciones-status {
  margin-top: 0.9rem;
  border: 1px solid #efe6f3;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.98) 0%, rgba(246, 248, 255, 0.98) 100%);
}

.gpos-devoluciones-status strong {
  color: #5f6f92;
}

.gpos-devoluciones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gpos-devoluciones-section {
  margin-top: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(222, 232, 247, 0.96);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 28px rgba(36, 68, 120, 0.06);
}

.gpos-devoluciones-section-wide {
  grid-column: 1 / -1;
}

.gpos-devoluciones-section-head {
  margin-bottom: 0.75rem;
}

.gpos-devoluciones-section-head h3 {
  margin: 0;
  color: #1f2940;
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gpos-devoluciones-board,
.gpos-devoluciones-list {
  margin-top: 0;
  border: 1px solid rgba(226, 235, 248, 0.98);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.gpos-devoluciones-board {
  padding: 0.85rem 0.9rem;
}

.gpos-devoluciones-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.gpos-devoluciones-summary-item {
  display: grid;
  gap: 0.18rem;
}

.gpos-devoluciones-summary-item span {
  color: #7a88a8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gpos-devoluciones-summary-item strong {
  color: #22304a;
  font-size: 1rem;
  font-weight: 600;
}

.gpos-devoluciones-list {
  padding: 0.3rem;
}

.gpos-devoluciones-list > p,
.gpos-devoluciones-board > p {
  margin: 0;
  color: #7a7d95;
}

.gpos-devolucion-item-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) minmax(170px, 0.8fr) auto 110px auto;
  align-items: center;
  gap: 1rem;
}

.gpos-devolucion-item-name,
.gpos-devolucion-item-meta {
  min-width: 0;
}

.gpos-devolucion-item-name strong {
  color: #22304a;
  font-size: 0.98rem;
  font-weight: 600;
}

.gpos-devolucion-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  color: #6e7894;
}

.gpos-devolucion-item-meta span {
  white-space: nowrap;
}

.gpos-devolucion-item-price {
  color: #22304a;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.gpos-devolucion-item-action {
  margin-top: 0;
}

.gpos-devolucion-item-action .button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gpos-devolucion-item-action .button-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5aa5 0%, #8b5cf6 100%);
  border-color: rgba(139, 92, 246, 0.18);
  box-shadow: 0 14px 24px rgba(139, 92, 246, 0.2);
}

.gpos-devolucion-select-icon {
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
}

.gpos-devolucion-select-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-devolucion-qty-field {
  display: grid;
  gap: 0.22rem;
  width: 110px;
}

.gpos-devolucion-qty-field span {
  color: #6e7894;
  font-size: 0.9rem;
  font-weight: 500;
}

.gpos-devolucion-qty-field .search-input {
  min-height: 42px;
}

.gpos-devoluciones-actions {
  justify-content: flex-end;
  margin-top: 0.85rem;
}

.gpos-devoluciones-confirm-button {
  width: auto;
  min-width: 220px;
  min-height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5aa5 0%, #8b5cf6 100%);
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.22);
}

.gpos-report-card .gpos-kpi-line strong {
  color: #15162e;
  font-weight: 700;
}

.gpos-report-dashboard-card .gpos-table-shell {
  border: 1px solid #efe6f3;
  border-radius: 18px;
  background: #ffffff;
}

.gpos-report-dashboard-card .gpos-table {
  background: #ffffff;
}

.gpos-report-dashboard-card .gpos-table th {
  color: #7a7d95;
  font-weight: 600;
  background: #fff0f7;
}

.gpos-report-dashboard-card .gpos-table td {
  border-bottom-color: #eeeaf2;
}

.gpos-report-dashboard-card .gpos-table tbody tr:hover {
  background: rgba(255, 63, 142, 0.04);
}

.gpos-stock-alert-text.is-danger,
.gpos-report-text.is-danger {
  color: #b23b3b;
}

.gpos-stock-alert-text.is-warning,
.gpos-report-text.is-warning {
  color: #9a6a11;
}

.gpos-stock-alert-text.is-good,
.gpos-report-text.is-good {
  color: #2d7a4b;
}

.gpos-config-grid {
  display: block;
  margin-top: 1.1rem;
}

.gpos-panel[data-panel="configuracion"].is-active {
  display: block;
  padding-top: 9.5rem;
  position: relative;
}

.gpos-panel[data-panel="configuracion"].is-active::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 15.5rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #46c5f3 0%, #2d84dc 48%, #1d4f99 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.gpos-config-dashboard-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(216, 226, 245, 0.9);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(250, 251, 255, 0.985) 100%);
  box-shadow: 0 22px 42px rgba(24, 61, 120, 0.14), 0 32px 72px rgba(23, 35, 68, 0.1);
}

.gpos-config-dashboard-card::before {
  content: none;
}

.gpos-config-dashboard-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
  padding-bottom: 1.35rem;
}

.gpos-config-dashboard-copy h2 {
  margin: 0;
  color: #15162e;
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  line-height: 1.02;
  font-weight: 700;
}

.gpos-config-dashboard-copy p {
  margin: 0;
  color: #65748b;
  line-height: 1.65;
  max-width: 60ch;
}

.gpos-config-tag,
.gpos-config-section-tag {
  background: rgba(231, 244, 255, 0.92);
  color: #1d6fd6;
  border: 1px solid rgba(95, 163, 240, 0.28);
}

.gpos-config-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 0;
}

.gpos-config-shortcut-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 240px;
  padding: 1.35rem 1.3rem;
  border: 1px solid rgba(212, 222, 240, 0.92);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  text-align: left;
  color: #15162e;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(24, 61, 120, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gpos-config-shortcut-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 139, 224, 0.28);
  box-shadow: 0 22px 36px rgba(24, 61, 120, 0.14);
}

.gpos-config-shortcut-card strong {
  font-size: 1.28rem;
  font-weight: 700;
  color: #15162e;
  letter-spacing: -0.03em;
}

.gpos-config-shortcut-card span:last-child {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

.gpos-config-shortcut-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  color: #2775d8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 20px rgba(41, 116, 214, 0.08);
}

.gpos-config-shortcut-icon.is-printer {
  color: #ff9a1f;
  background: linear-gradient(180deg, #fff7ea 0%, #fffdf6 100%);
}

.gpos-config-shortcut-icon.is-label-printer {
  color: #0f766e;
  background: linear-gradient(180deg, #ebfffb 0%, #f7fffd 100%);
}

.gpos-config-shortcut-icon.is-giftcard {
  color: #2563eb;
  background: linear-gradient(180deg, #eef4ff 0%, #fafcff 100%);
}

.gpos-config-shortcut-icon.is-sale-cancel {
  color: #d9485f;
  background: linear-gradient(180deg, #fff1f4 0%, #fffafc 100%);
}

.gpos-config-shortcut-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-panel[data-panel="configuracion"] .gpos-content-head p,
.gpos-panel[data-panel="configuracion"] .gpos-config-dashboard-copy p {
  color: #7a7d95;
}

.gpos-config-users-modal {
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2.5rem);
}

.gpos-config-users-modal .gpos-table-shell {
  max-height: none;
  overflow: visible;
}

.gpos-config-users-modal .gpos-form-grid {
  min-height: 0;
}

.gpos-config-users-modal .field {
  display: grid;
  gap: 0.4rem;
}

[data-config-printer-backdrop] .gpos-config-users-modal {
  width: min(1080px, calc(100vw - 2rem));
  gap: 0.2rem;
  padding-bottom: 1.1rem;
}

[data-config-label-printer-backdrop] .gpos-config-users-modal {
  width: min(1080px, calc(100vw - 2rem));
  gap: 0.2rem;
  padding-bottom: 1.1rem;
}

[data-config-printer-backdrop] .gpos-discount-editor-head {
  margin-bottom: 0.25rem;
}

[data-config-label-printer-backdrop] .gpos-discount-editor-head {
  margin-bottom: 0.25rem;
}

[data-config-printer-backdrop] .section-tag {
  background: rgba(255, 237, 243, 0.92);
  color: #c46a79;
  border: 1px solid rgba(219, 150, 167, 0.2);
}

[data-config-label-printer-backdrop] .section-tag {
  background: rgba(231, 255, 248, 0.94);
  color: #0f766e;
  border: 1px solid rgba(103, 198, 179, 0.28);
}

[data-config-printer-backdrop] [data-config-printer-form] {
  order: 2;
  gap: 1rem;
}

[data-config-label-printer-backdrop] [data-config-label-printer-form] {
  order: 2;
  gap: 1rem;
}

[data-config-printer-backdrop] [data-config-printer-form] .search-input,
[data-config-printer-backdrop] [data-config-printer-form] input,
[data-config-printer-backdrop] [data-config-printer-form] select {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(207, 216, 232, 0.9);
  box-shadow: none;
}

[data-config-label-printer-backdrop] [data-config-label-printer-form] .search-input,
[data-config-label-printer-backdrop] [data-config-label-printer-form] input,
[data-config-label-printer-backdrop] [data-config-label-printer-form] select {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(191, 219, 213, 0.95);
  box-shadow: none;
}

[data-config-printer-backdrop] .gpos-confirm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

[data-config-label-printer-backdrop] .gpos-confirm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

[data-config-printer-backdrop] [data-config-printer-save] {
  width: auto;
  min-width: 124px;
  min-height: 48px;
  margin-top: 0;
  padding-inline: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5aa5 0%, #8b5cf6 100%);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
  font-size: 1rem;
}

[data-config-printer-backdrop] [data-config-printer-reset] {
  min-width: 124px;
  min-height: 48px;
  padding-inline: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(210, 217, 230, 0.95);
  color: #445066;
  font-weight: 500;
}

[data-config-label-printer-backdrop] [data-config-label-printer-save],
[data-config-label-printer-backdrop] [data-config-label-printer-test],
[data-config-label-printer-backdrop] [data-config-label-printer-refresh] {
  min-width: 152px;
  min-height: 48px;
  padding-inline: 1rem;
  border-radius: 16px;
}

[data-config-label-printer-backdrop] [data-config-label-printer-save] {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

[data-config-label-printer-backdrop] [data-config-label-printer-test] {
  border: 1px solid rgba(144, 182, 176, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf9 100%);
  color: #0f766e;
}

[data-config-label-printer-backdrop] [data-config-label-printer-refresh] {
  border: 1px solid rgba(210, 217, 230, 0.95);
  color: #445066;
}

[data-config-printer-form] {
  order: 2;
}

[data-config-label-printer-form] {
  order: 2;
}

[data-config-printer-feedback] {
  order: 3;
  margin-top: 1.2rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border-color: rgba(195, 210, 239, 0.92);
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.98) 0%, rgba(239, 243, 255, 0.98) 100%);
}

[data-config-printer-feedback] strong,
[data-config-printer-feedback] p {
  display: inline;
}

[data-config-printer-feedback] strong {
  color: #5d6f97;
}

[data-config-printer-feedback] p {
  margin: 0 0 0 0.4rem;
  color: #6d7894;
  font-size: 0.94rem;
}

[data-config-label-printer-feedback] {
  order: 3;
  margin-top: 1.2rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border-color: rgba(176, 214, 206, 0.92);
  background: linear-gradient(180deg, rgba(239, 252, 248, 0.98) 0%, rgba(231, 248, 243, 0.98) 100%);
}

[data-config-label-printer-feedback] strong,
[data-config-label-printer-feedback] p {
  display: inline;
}

[data-config-label-printer-feedback] strong {
  color: #0f766e;
}

[data-config-label-printer-feedback] p {
  margin: 0 0 0 0.4rem;
  color: #4b6b66;
  font-size: 0.94rem;
}

.gpos-giftcards-modal {
  width: min(1180px, calc(100vw - 2.4rem));
  max-height: calc(100vh - 1rem);
  padding: 1rem 1.05rem;
  margin-inline: auto;
}

.gpos-giftcards-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-items: stretch;
}

.gpos-giftcards-create-card,
.gpos-giftcards-list-card {
  padding: 0.85rem 0.92rem;
  border: 1px solid #efe6f3;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.98) 100%);
  box-shadow: 0 16px 28px rgba(65, 36, 89, 0.07);
}

.gpos-giftcards-create-card {
  margin-top: 0;
  gap: 0.68rem;
  align-content: start;
}

.gpos-giftcards-create-head,
.gpos-giftcards-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gpos-giftcards-create-head strong,
.gpos-giftcards-list-head strong {
  display: block;
  color: #15162e;
  font-size: 1rem;
  font-weight: 700;
}

.gpos-giftcards-create-head p,
.gpos-giftcards-list-head span {
  margin: 0.15rem 0 0;
  color: #7a7d95;
  font-size: 0.82rem;
  line-height: 1.32;
}

.gpos-giftcards-refresh-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 14px;
}

.gpos-giftcards-refresh-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gpos-giftcard-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.gpos-giftcard-scenario {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 82px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #efe6f3;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.12), transparent 38%),
    linear-gradient(180deg, #fffefe 0%, #fff7fb 100%);
  box-shadow: 0 10px 22px rgba(65, 36, 89, 0.05);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gpos-giftcard-scenario:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 63, 142, 0.24);
  box-shadow: 0 16px 28px rgba(65, 36, 89, 0.09);
}

.gpos-giftcard-scenario input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gpos-giftcard-scenario:has(input:checked) {
  border-color: rgba(255, 63, 142, 0.45);
  box-shadow: 0 18px 32px rgba(139, 92, 246, 0.12);
}

.gpos-giftcard-scenario-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #15162e;
}

.gpos-giftcard-scenario small {
  color: #7a7d95;
  font-size: 0.78rem;
  line-height: 1.28;
}

.gpos-giftcard-form-grid {
  grid-template-columns: minmax(220px, 320px) minmax(180px, 220px);
  gap: 0.75rem;
  justify-content: start;
}

.gpos-giftcards-create-card .field {
  gap: 0.3rem;
}

.gpos-giftcards-create-card .field label {
  font-size: 0.84rem;
}

.gpos-giftcards-create-card .search-input,
.gpos-giftcards-create-card select {
  min-height: 42px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.gpos-giftcards-create-card > .field {
  max-width: 640px;
}

.gpos-giftcards-create-actions {
  display: flex;
  justify-content: flex-start;
}

.gpos-giftcards-create-submit {
  width: auto;
  min-width: 240px;
  max-width: 320px;
  min-height: 40px;
  padding-inline: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3f8e 0%, #8b5cf6 100%);
  box-shadow: 0 14px 24px rgba(139, 92, 246, 0.2);
}

.gpos-giftcards-table-shell {
  margin-top: 0.55rem;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(180, 99, 107, 0.55) rgba(255, 240, 247, 0.95);
}

.gpos-giftcards-table-shell .gpos-table th {
  background: #fff0f7;
}

.gpos-giftcards-table-shell .gpos-table {
  min-width: 720px;
}

.gpos-giftcards-table-shell .gpos-table td,
.gpos-giftcards-table-shell .gpos-table th {
  padding: 0.58rem 0.75rem;
  font-size: 0.84rem;
}

.gpos-giftcards-table-shell .gpos-table th:nth-child(6),
.gpos-giftcards-table-shell .gpos-table td:nth-child(6) {
  max-width: 220px;
  white-space: normal;
  word-break: break-word;
}

.gpos-giftcards-table-shell .gpos-table th:last-child,
.gpos-giftcards-table-shell .gpos-table td:last-child {
  width: 88px;
  text-align: center;
}

.gpos-giftcards-table-shell::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.gpos-giftcards-table-shell::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #fff7fb 0%, #f8edf4 100%);
  border-radius: 999px;
}

.gpos-giftcards-table-shell::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #d88b93 0%, #9a59df 100%);
  border-radius: 999px;
  border: 2px solid #fff7fb;
}

.gpos-giftcards-table-shell::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #c96d83 0%, #8747d4 100%);
}

.gpos-giftcards-list-card {
  min-height: 100%;
  min-width: 0;
}

.gpos-giftcards-feedback-bar {
  margin-top: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9fb 0%, #fff4f8 100%);
}

.gpos-giftcards-feedback-bar strong,
.gpos-giftcards-feedback-bar p {
  display: inline;
}

.gpos-giftcards-feedback-bar strong {
  font-size: 0.82rem;
}

.gpos-giftcards-feedback-bar p {
  margin: 0 0 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.3;
}

.gpos-config-sale-cancel-modal {
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100vh - 1.4rem);
}

.gpos-config-sale-cancel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  align-items: start;
}

.gpos-config-sale-cancel-search-card,
.gpos-config-sale-cancel-result-card {
  padding: 0.95rem 1rem;
  border: 1px solid #efe6f3;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 63, 142, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.98) 100%);
  box-shadow: 0 16px 28px rgba(65, 36, 89, 0.07);
}

.gpos-config-sale-cancel-search-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.gpos-config-sale-cancel-search-head strong,
.gpos-config-sale-cancel-result-head strong {
  display: block;
  color: #15162e;
  font-size: 1rem;
  font-weight: 700;
}

.gpos-config-sale-cancel-search-head span,
.gpos-config-sale-cancel-result-head span {
  display: block;
  margin-top: 0.15rem;
  color: #7a7d95;
  font-size: 0.82rem;
  line-height: 1.35;
}

.gpos-config-sale-cancel-search-row {
  display: grid;
  grid-template-columns: auto minmax(210px, 240px) auto;
  gap: 0.45rem;
  align-items: end;
}

.gpos-config-sale-cancel-ticket-field {
  display: flex;
  align-items: center;
  min-height: 48px;
  white-space: nowrap;
  margin-right: -0.05rem;
}

.gpos-config-sale-cancel-ticket-field span {
  color: #5f6278;
  font-size: 0.86rem;
  font-weight: 600;
}

.gpos-config-sale-cancel-search-row > .search-input {
  max-width: 240px;
  min-height: 48px;
  border-radius: 16px;
  justify-self: start;
}

.gpos-config-sale-cancel-search-actions {
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0;
  align-self: end;
  margin-left: 0.15rem;
}

.gpos-config-sale-cancel-search-actions .button {
  min-width: 126px;
  min-height: 46px;
  border-radius: 15px;
}

.gpos-config-sale-cancel-submit {
  background: linear-gradient(135deg, #d74b67 0%, #ff7a8d 100%);
  border-color: rgba(215, 75, 103, 0.28);
  color: #fff;
  box-shadow: 0 12px 24px rgba(215, 75, 103, 0.18);
}

.gpos-config-sale-cancel-submit:disabled {
  opacity: 0.55;
  box-shadow: none;
}

.gpos-config-sale-cancel-result-card {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.gpos-config-sale-cancel-summary {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(237, 226, 235, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 249, 252, 0.96) 0%, rgba(255, 244, 248, 0.96) 100%);
}

.gpos-config-sale-cancel-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem 0.7rem;
}

.gpos-config-sale-cancel-summary-item {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.gpos-config-sale-cancel-summary-item span {
  color: #8a7d91;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gpos-config-sale-cancel-summary-item strong {
  color: #1d2035;
  font-size: 0.88rem;
  line-height: 1.22;
}

.gpos-config-sale-cancel-table-shell {
  max-height: 320px;
  overflow: auto;
}

.gpos-config-sale-cancel-table-shell .gpos-table {
  min-width: 0;
  width: 100%;
}

.gpos-config-sale-cancel-table-shell .gpos-table th,
.gpos-config-sale-cancel-table-shell .gpos-table td {
  padding: 0.56rem 0.65rem;
  font-size: 0.79rem;
  vertical-align: middle;
}

.gpos-config-sale-cancel-table-shell .gpos-table th {
  white-space: nowrap;
}

.gpos-config-sale-cancel-col-producto {
  width: 380px;
}

.gpos-config-sale-cancel-col-sku {
  width: 132px;
}

.gpos-config-sale-cancel-col-unidades {
  width: 92px;
}

.gpos-config-sale-cancel-col-total {
  width: 118px;
}

.gpos-config-sale-cancel-table-shell .gpos-table th:nth-child(2),
.gpos-config-sale-cancel-table-shell .gpos-table td:nth-child(2) {
  white-space: nowrap;
}

.gpos-config-sale-cancel-table-shell .gpos-table th:first-child,
.gpos-config-sale-cancel-table-shell .gpos-table td:first-child {
  max-width: 380px;
}

.gpos-config-sale-cancel-table-shell .gpos-table td:first-child {
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gpos-config-sale-cancel-table-shell .gpos-table th:nth-child(3),
.gpos-config-sale-cancel-table-shell .gpos-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

.gpos-config-sale-cancel-table-shell .gpos-table th:nth-child(4),
.gpos-config-sale-cancel-table-shell .gpos-table td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .gpos-config-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-giftcards-modal {
    width: min(1080px, calc(100vw - 1.4rem));
    max-height: calc(100vh - 0.8rem);
    padding: 0.9rem;
  }

  .gpos-giftcards-create-card,
  .gpos-giftcards-list-card {
    width: 100%;
  }

  .gpos-giftcards-table-shell {
    max-height: 220px;
  }

  .gpos-giftcards-table-shell .gpos-table {
    min-width: 0;
    width: 100%;
  }

  .gpos-giftcards-table-shell .gpos-table td,
  .gpos-giftcards-table-shell .gpos-table th {
    font-size: 0.78rem;
    padding: 0.5rem 0.58rem;
  }

  .gpos-giftcards-create-card,
  .gpos-giftcards-list-card {
    padding: 0.78rem 0.82rem;
    border-radius: 20px;
  }

  .gpos-giftcards-create-head strong,
  .gpos-giftcards-list-head strong {
    font-size: 0.95rem;
  }

  .gpos-giftcards-create-head p,
  .gpos-giftcards-list-head span {
    font-size: 0.78rem;
  }

  .gpos-giftcard-scenario {
    min-height: 74px;
    padding: 0.62rem 0.7rem;
    border-radius: 18px;
  }

  .gpos-giftcard-scenario-title {
    font-size: 0.86rem;
  }

  .gpos-giftcard-scenario small {
    font-size: 0.74rem;
  }

  .gpos-giftcards-create-card .search-input,
  .gpos-giftcards-create-card select {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .gpos-giftcard-form-grid {
    grid-template-columns: minmax(180px, 260px) minmax(160px, 200px);
  }

  .gpos-giftcards-create-card > .field {
    max-width: 560px;
  }

  .gpos-giftcards-create-submit {
    min-width: 220px;
  }

  .gpos-giftcards-table-shell .gpos-table th:nth-child(6),
  .gpos-giftcards-table-shell .gpos-table td:nth-child(6) {
    max-width: 220px;
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 920px) {
  .gpos-config-cards {
    grid-template-columns: 1fr;
  }

  .gpos-giftcards-modal {
    width: min(100%, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    padding: 0.95rem;
  }

  .gpos-giftcards-layout {
    grid-template-columns: 1fr;
  }

  .gpos-giftcards-create-head,
  .gpos-giftcards-list-head {
    flex-direction: column;
    align-items: stretch;
  }

  .gpos-giftcards-refresh-button,
  .gpos-giftcards-create-submit {
    width: 100%;
  }

  .gpos-giftcards-refresh-button {
    justify-self: stretch;
  }

  .gpos-giftcards-feedback-bar strong,
  .gpos-giftcards-feedback-bar p {
    display: block;
  }

  .gpos-giftcards-feedback-bar p {
    margin: 0.18rem 0 0;
  }

  .gpos-config-sale-cancel-layout {
    grid-template-columns: 1fr;
  }

  .gpos-config-sale-cancel-search-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .gpos-config-sale-cancel-ticket-field,
  .gpos-config-sale-cancel-search-row > .search-input,
  .gpos-config-sale-cancel-search-actions .button {
    max-width: none;
    width: 100%;
  }

  .gpos-config-sale-cancel-ticket-field {
    min-height: auto;
  }

  .gpos-config-sale-cancel-search-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gpos-config-sale-cancel-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gpos-giftcard-scenario-grid,
  .gpos-giftcard-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gpos-product-detail-modal {
    padding: 1rem;
    border-radius: 22px;
  }

  .gpos-product-detail-heading h3 {
    font-size: 1.6rem;
  }

  .gpos-product-detail-copy h4 {
    font-size: 1.5rem;
  }

  .gpos-config-sale-cancel-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gpos-config-sale-cancel-summary-grid {
    grid-template-columns: 1fr;
  }
}

.gpos-config-users-list.is-hidden {
  display: none;
}

.gpos-config-users-table-shell {
  border: 1px solid rgba(232, 220, 229, 0.92);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 252, 0.98) 100%);
  box-shadow: 0 18px 36px rgba(72, 46, 94, 0.06);
}

.gpos-config-users-table-shell .gpos-table {
  min-width: 960px;
}

.gpos-config-users-table-shell .gpos-table th {
  background: linear-gradient(180deg, rgba(255, 246, 250, 0.98) 0%, rgba(252, 242, 248, 0.98) 100%);
  color: #7c7288;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: none;
}

.gpos-config-users-table-shell .gpos-table td,
.gpos-config-users-table-shell .gpos-table th {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(235, 226, 236, 0.92);
}

.gpos-config-users-table-shell .gpos-table tbody tr {
  transition: background 0.16s ease;
}

.gpos-config-users-table-shell .gpos-table tbody tr:hover {
  background: rgba(255, 248, 252, 0.88);
}

.gpos-config-users-table-shell .gpos-table tbody td:first-child strong {
  color: #1b2438;
  font-size: 0.96rem;
  font-weight: 700;
}

.gpos-config-users-row-actions {
  margin-top: 0;
  justify-content: flex-end;
  gap: 0.55rem;
}

.gpos-config-users-row-actions .button {
  min-width: 48px;
  min-height: 42px;
  padding: 0;
  border-radius: 12px;
}

.gpos-config-users-row-actions .button-outline {
  color: #57627c;
  border-color: rgba(214, 221, 234, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.gpos-config-users-row-actions .button-secondary {
  color: #fff;
  background: linear-gradient(135deg, #ff5aa5 0%, #8b5cf6 100%);
  border: 0;
  box-shadow: 0 12px 22px rgba(139, 92, 246, 0.18);
}

.gpos-config-users-actions {
  justify-content: flex-end;
  align-items: center;
}

.gpos-config-users-open-create {
  min-height: 40px;
  padding-inline: 1rem;
  color: #8b4c7d;
  background: linear-gradient(180deg, #fff9fc 0%, #fff3f8 100%);
  border-color: rgba(231, 198, 220, 0.88);
  font-weight: 700;
  box-shadow: none;
}

[data-config-users-feedback] {
  margin-top: 0.7rem;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 220, 229, 0.92);
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.98) 0%, rgba(246, 248, 255, 0.98) 100%);
}

[data-config-users-feedback] strong,
[data-config-users-feedback] p {
  display: inline;
}

[data-config-users-feedback] strong {
  color: #5f6f92;
}

[data-config-users-feedback] p {
  margin: 0 0 0 0.35rem;
  color: #7a88a8;
  font-size: 0.92rem;
}

.gpos-config-users-save,
.gpos-config-users-deactivate,
.gpos-config-users-cancel {
  width: auto;
  min-width: 152px;
  margin-top: 0;
}

.gpos-config-users-save {
  color: #235c3a;
  background: linear-gradient(135deg, #d7f6de 0%, #bdeec8 100%);
}

.gpos-config-users-deactivate {
  color: #fff;
  background: linear-gradient(135deg, #8f97a3 0%, #6f7782 100%);
}

.gpos-config-users-cancel {
  color: #fff;
  background: linear-gradient(135deg, #ff5aa5 0%, #ff3b77 100%);
  border-color: rgba(255, 59, 119, 0.28);
  font-weight: 700;
}

.gpos-table tbody tr.is-selected {
  background: linear-gradient(180deg, #fff8f4 0%, #fff3ed 100%);
}

@media (max-width: 1280px) {
  .storefront-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-panel[data-panel="ventas"].is-active,
  .gpos-caja-grid,
  .gpos-products-layout,
  .gpos-report-grid {
    grid-template-columns: 1fr;
  }

  .gpos-panel[data-panel="cuadratura"].is-active {
    grid-template-columns: 1fr;
  }

  .gpos-panel[data-panel="movimientos"].is-active {
    grid-template-columns: 1fr;
  }

  .gpos-product-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-cuadratura-board,
  .gpos-cuadratura-balance-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-cuadratura-actions-grid {
    grid-template-columns: 1fr;
  }

  .gpos-products-pane[data-products-pane="categorias"] [data-category-list] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-products-pane[data-products-pane="subcategorias"] [data-subcategory-list] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gpos-subcategory-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gpos-report-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-report-grid-spotlight {
    grid-template-columns: 1fr;
  }

  .gpos-config-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .gpos-variant-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gpos-product-browser-grid {
    grid-template-columns: 1fr;
  }

  .gpos-product-detail-summary,
  .gpos-product-detail-variant-card {
    grid-template-columns: 1fr;
  }

  .gpos-product-detail-media {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .gpos-product-detail-variant-actions {
    justify-content: flex-start;
  }

  .gpos-product-detail-print-group {
    width: 100%;
    justify-content: flex-start;
  }

  .ribbon-inner,
  .storefront-preview-head,
  .storefront-grid,
  .storefront-product-info {
    grid-template-columns: 1fr;
  }

  .ribbon-inner {
    justify-content: center;
    text-align: center;
  }

  .storefront-stats {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    justify-content: center;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-catalog-nav {
    display: none;
  }

  .brand-mark {
    flex: 1 1 auto;
  }

  .login-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .gpos-shell {
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .gpos-sidebar {
    height: auto;
    grid-template-rows: auto;
    overflow: visible;
  }

  .gpos-sidebar-footer {
    display: none;
  }

  .pos-page {
    height: auto;
    overflow: auto;
  }

  .gpos-main {
    height: auto;
    overflow: visible;
  }

  .gpos-topbar {
    grid-template-columns: 1fr;
  }

  .gpos-cuadratura-toolbar {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .gpos-cuadratura-toolbar .button {
    width: 100%;
  }

  .gpos-config-dashboard-hero {
    flex-direction: column;
  }

  .gpos-config-dashboard-actions {
    justify-content: flex-start;
  }

  .gpos-config-dashboard-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .gpos-report-dashboard-hero {
    flex-direction: column;
  }

  .gpos-report-dashboard-pills {
    justify-content: flex-start;
  }

  .gpos-product-browser-head {
    align-items: flex-start;
  }

  .gpos-product-preview-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpos-products-grid,
  .gpos-products-toolbar,
  .gpos-variant-row,
  .gpos-product-card-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .gpos-products-pane[data-products-pane="categorias"] [data-category-list] {
    grid-template-columns: 1fr;
  }

  .gpos-products-pane[data-products-pane="subcategorias"] [data-subcategory-list] {
    grid-template-columns: 1fr;
  }

  .gpos-subcategory-form-grid {
    grid-template-columns: 1fr;
  }

  .gpos-products-toolbar .button-primary {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }

  .gpos-report-kpi-grid {
    grid-template-columns: 1fr;
  }

  .gpos-report-dashboard-surface,
  .gpos-report-table-section {
    padding: 1rem;
  }

  .gpos-config-toolbar {
    grid-template-columns: 1fr;
  }

  .gpos-report-bar-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gpos-config-dashboard-surface {
    border-radius: 22px;
  }

  .gpos-devoluciones-grid {
    grid-template-columns: 1fr;
  }

  .gpos-devoluciones-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpos-devolucion-item-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .gpos-devolucion-item-price {
    justify-self: start;
  }

  .gpos-devolucion-item-action,
  .gpos-devolucion-qty-field {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .gpos-devoluciones-toolbar {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .gpos-devoluciones-toolbar .search-input,
  .gpos-devoluciones-search-button,
  .gpos-devoluciones-confirm-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .gpos-config-actions-row {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .gpos-config-table th,
  .gpos-config-table td {
    white-space: normal;
  }

  .gpos-products-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .gpos-cuadratura-board,
  .gpos-cuadratura-balance-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .gpos-topbar.is-ventas {
    grid-template-columns: 1fr;
  }

  .gpos-ventas-ticket-detail-shell .gpos-ticket-line {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gpos-ventas-content-head {
    flex-direction: column;
    align-items: stretch;
  }

  .gpos-ventas-shortcuts {
    justify-content: flex-start;
  }

  .gpos-ventas-ticket-detail-shell .gpos-ticket-line {
    grid-template-columns: 1fr;
  }

  .gpos-ventas-ticket-detail-shell .gpos-ticket-line-copy {
    padding-left: 5rem;
  }

  .gpos-ventas-sidecards {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 860px) {
  .gpos-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .gpos-sidebar {
    padding: 0.5rem 0.38rem 0.42rem;
    border-radius: 0 24px 24px 0;
  }

  .gpos-brand {
    padding: 0.42rem 0.55rem 0.35rem;
  }

  .gpos-logo {
    width: 82px;
    height: 82px;
  }

  .gpos-nav-item {
    min-height: 42px;
    gap: 0.7rem;
    padding: 0 0.85rem;
    font-size: 0.91rem;
  }

  .gpos-sidebar-footer {
    gap: 0.6rem;
    padding: 0.6rem 0.42rem 0.3rem;
  }

  .gpos-sidebar-logout {
    min-height: 40px;
  }

  .gpos-sidebar-footer::after {
    inset: 3.95rem 0.14rem 0.02rem;
    padding: 1rem 0.9rem 0.84rem;
  }

  .gpos-sidebar-footer::before {
    inset: 3.3rem 0.22rem auto;
  }

  .gpos-session-line {
    font-size: 0.8rem;
    padding-inline: 0.7rem;
  }

  .gpos-session-line:first-of-type {
    margin-top: 1.5rem;
  }
}

@media (max-height: 760px) {
  .gpos-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .gpos-sidebar {
    padding: 0.42rem 0.32rem 0.28rem;
    border-radius: 0 22px 22px 0;
  }

  .gpos-brand {
    padding: 0.32rem 0.45rem 0.24rem;
  }

  .gpos-logo {
    width: 72px;
    height: 72px;
  }

  .gpos-nav {
    padding: 0.16rem 0.22rem;
  }

  .gpos-nav-item {
    min-height: 37px;
    gap: 0.62rem;
    padding: 0 0.75rem;
    font-size: 0.84rem;
  }

  .gpos-sidebar-footer {
    gap: 0.42rem;
    padding: 0.45rem 0.34rem 0.22rem;
  }

  .gpos-sidebar-logout {
    min-height: 36px;
    border-radius: 12px;
    font-size: 0.84rem;
  }

  .gpos-sidebar-footer::after {
    inset: 3.55rem 0.1rem 0;
    padding: 0.92rem 0.76rem 0.74rem;
    border-radius: 16px;
    font-size: 0.68rem;
  }

  .gpos-sidebar-footer::before {
    inset: 2.95rem 0.18rem auto;
  }

  .gpos-session-line {
    gap: 0.55rem;
    margin-top: 0.2rem;
    padding-inline: 0.6rem;
    font-size: 0.76rem;
  }

  .gpos-session-line:first-of-type {
    margin-top: 1.22rem;
  }
}

@media (max-height: 900px) {
  .login-shell {
    gap: 0.9rem;
    padding: 0.8rem;
  }

  .login-hero,
  .login-card {
    border-radius: 26px;
    min-height: auto;
  }

  .login-hero {
    padding: 1.3rem;
  }

  .login-hero-mark img {
    width: min(100%, 250px);
  }

  .login-hero-copy h1 {
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  }

  .login-hero-copy p {
    font-size: 0.94rem;
  }

  .login-card {
    padding: 1.35rem;
  }

  .field input,
  .search-input,
  .button {
    min-height: 42px;
  }

  .gpos-discount-modal-backdrop {
    place-items: start center;
    padding: 0.75rem;
  }

  .gpos-discount-modal,
  .gpos-config-users-modal,
  .gpos-client-history-modal {
    max-height: calc(100vh - 1.5rem);
    border-radius: 22px;
  }

  .gpos-config-users-modal .gpos-table-shell {
    max-height: none;
  }
}

.gpos-discount-modal.gpos-product-detail-modal {
  width: min(1360px, calc(100vw - 1rem));
  max-height: min(560px, calc(100vh - 1rem));
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "summary variants"
    "actions actions";
  gap: 0.85rem 1rem;
  overflow: hidden;
  position: relative;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-head {
  grid-area: head;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-summary {
  grid-area: summary;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 0;
  overflow: auto;
  padding-right: 0.25rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-media {
  width: 128px;
  height: 128px;
  border-radius: 22px;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-zoom {
  width: 36px;
  height: 36px;
  min-height: 36px;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-copy {
  gap: 0.55rem;
  min-height: 0;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-copy h4 {
  font-size: 1.55rem;
  line-height: 1.02;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-brand {
  font-size: 0.9rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  line-height: 1.45;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-variants {
  grid-area: variants;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-confirm-actions {
  grid-area: actions;
  margin-top: 0;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 253, 250, 0.96) 28%, rgba(255, 253, 250, 1) 100%);
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-variant-card {
  padding: 0.8rem 0.9rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-variant-copy strong {
  font-size: 0.92rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-variant-note {
  font-size: 0.88rem;
}

.gpos-discount-modal.gpos-product-detail-modal .gpos-confirm-actions .button-outline {
  min-width: 156px;
  border-color: rgba(82, 133, 214, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
  color: #2354a0;
}

@media (max-width: 980px) {
  .gpos-discount-modal.gpos-product-detail-modal {
    width: min(100%, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "summary"
      "variants"
      "actions";
    overflow-y: auto;
  }

  .gpos-discount-modal.gpos-product-detail-modal .gpos-product-detail-variants {
    overflow: visible;
    padding-right: 0;
  }

  .gpos-product-detail-summary {
    grid-template-columns: 1fr;
  }

  .gpos-product-detail-print-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .gpos-product-detail-print-qty-input {
    width: 4rem;
    min-width: 4rem;
  }

  .gpos-product-detail-media-shell {
    justify-items: start;
  }

  .gpos-product-detail-zoom {
    width: 36px;
    min-width: 36px;
  }

  .gpos-product-image-lightbox {
    padding: 0;
  }

  .gpos-product-image-lightbox-dialog {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
  }

  .gpos-product-image-lightbox-dialog img {
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }
}
