/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*//* Layout del header */
.woo-slider-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin:0 0 10px 0;
  padding:0;
}
.wlps-left{ display:inline-flex; align-items:center; gap:12px; }
.wlps-right{ display:inline-flex; align-items:center; gap:10px; margin-left:auto; }

.woo-slider-catname{
  margin:0;
  text-align:left!important;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:18px;
  line-height:1.2;
}

/* Botón VER MÁS (cuadrado, sin subrayado) */
.wlps-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;                   /* fallback; JS ajusta a mitad de flecha */
  padding:0 12px;
  background:#000;
  color:#fff;
  border:none;
  border-radius:0 !important;    /* totalmente cuadrado */
  box-shadow:none;
  text-decoration:none !important;
  font-size:13px;                /* +1px respecto a v1.0.5-square */
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  line-height:1;
}
.wlps-more:visited,
.wlps-more:hover,
.wlps-more:focus,
.wlps-more:active{
  text-decoration:none !important;
  color:#fff;
}
.wlps-more:hover{ opacity:.9; }

/* Normalizar flechas si el plugin las posiciona absolutas */
.woo-slider-header .woo-slider-arrow{ position:static!important; transform:none!important; margin:0; }

@media (max-width:768px){
  .woo-slider-catname{font-size:16px;}
  .wlps-more{font-size:12px; padding:0 10px;} /* +1px en móvil */
}
:root {
  --youpos-bg: #f5f6f8;
  --youpos-card: #ffffff;
  --youpos-card-soft: #fafafa;
  --youpos-text: #111827;
  --youpos-muted: #6b7280;
  --youpos-line: #e5e7eb;
  --youpos-dark: #111827;
  --youpos-dark-2: #1f2937;
  --youpos-success: #0f766e;
  --youpos-error: #b91c1c;
  --youpos-radius: 24px;
  --youpos-radius-sm: 16px;
  --youpos-shadow: 0 24px 70px rgba(17, 24, 39, .08);
  --youpos-shadow-soft: 0 10px 30px rgba(17, 24, 39, .06);
}

body.youpos-standalone-body, .youpos-wrap, .youpos-login-wrap {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.youpos-admin-shell {
  margin: 0 20px 0 0;
}

.youpos-wrap,
.youpos-login-wrap,
.youpos-wrap * {
  box-sizing: border-box;
  font-weight: 400;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.youpos-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px;
  color: var(--youpos-text);
  background: var(--youpos-bg);
  border-radius: 30px;
}

.youpos-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 14px;
  background:
    radial-gradient(circle at top left, rgba(17, 24, 39, .08), transparent 28%),
    linear-gradient(135deg, #f9fafb 0%, #eef1f5 100%);
}

.youpos-login-card {
  width: min(440px, 100%);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: 34px;
  box-shadow: var(--youpos-shadow);
  padding: 32px;
  backdrop-filter: blur(18px);
}

.youpos-login-brand,
.youpos-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.youpos-logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 19px;
  background: var(--youpos-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -.04em;
  font-size: 18px;
  box-shadow: var(--youpos-shadow-soft);
}

.youpos-eyebrow {
  margin: 0 0 3px;
  color: var(--youpos-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.youpos-login-card h1,
.youpos-topbar h1,
.youpos-panel-head h2,
.youpos-cart-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--youpos-text);
}

.youpos-login-form {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.youpos-login-form label,
.youpos-customer-box label,
.youpos-payment-box label {
  color: var(--youpos-text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.youpos-login-form input:not([type="checkbox"]),
.youpos-searchbar input,
.youpos-customer-box input,
.youpos-session-actions input,
.youpos-session-actions select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.youpos-login-form input:focus,
.youpos-searchbar input:focus,
.youpos-customer-box input:focus,
.youpos-session-actions input:focus,
.youpos-session-actions select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, .08);
}

.youpos-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--youpos-muted) !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

.youpos-login-note {
  margin: 20px 0 0;
  color: var(--youpos-muted);
  text-align: center;
  font-size: 14px;
}

.youpos-btn,
.youpos-payment-grid button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.youpos-btn:hover,
.youpos-payment-grid button:hover {
  transform: translateY(-1px);
}

.youpos-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.youpos-btn-primary {
  color: #fff;
  background: var(--youpos-dark);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .16);
}

.youpos-btn-primary:hover {
  background: #000;
  color: #fff;
}

.youpos-btn-dark {
  color: #fff;
  background: var(--youpos-dark-2);
}

.youpos-btn-light,
.youpos-payment-grid button {
  color: var(--youpos-text);
  background: #f3f4f6;
  border: 1px solid var(--youpos-line);
}

.youpos-btn-full {
  width: 100%;
}

.youpos-alert {
  padding: 12px 16px;
  border-radius: var(--youpos-radius-sm);
  margin: 18px 0 0;
  font-weight: 700;
  font-size: 15px;
}

.youpos-alert-error {
  color: var(--youpos-error);
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.youpos-alert-success {
  color: var(--youpos-success);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.youpos-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.youpos-userbox {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: var(--youpos-shadow-soft);
  font-weight: 700;
}

.youpos-mini-link {
  color: #fff;
  background: var(--youpos-dark);
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 400;
  text-transform: uppercase;
  border: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.youpos-session-panel {
  margin-bottom: 18px;
}

.youpos-session-open,
.youpos-session-closed {
  background: var(--youpos-card);
  border: 1px solid var(--youpos-line);
  border-radius: var(--youpos-radius);
  box-shadow: var(--youpos-shadow-soft);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.youpos-session-open strong,
.youpos-session-closed strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.02em;
}

.youpos-session-open span,
.youpos-session-closed span {
  display: block;
  color: var(--youpos-muted);
  margin-top: 4px;
}

.youpos-session-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(560px, 100%);
}

.youpos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.youpos-layout.youpos-is-locked {
  opacity: .45;
  pointer-events: none;
  filter: grayscale(.2);
}

.youpos-products-panel,
.youpos-cart-panel,
.youpos-sales-mini {
  background: var(--youpos-card);
  border: 1px solid var(--youpos-line);
  border-radius: var(--youpos-radius);
  box-shadow: var(--youpos-shadow-soft);
  padding: 18px;
}

.youpos-cart-panel {
  position: sticky;
  top: 24px;
}

.youpos-panel-head,
.youpos-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.youpos-panel-head h2,
.youpos-cart-head h2 {
  font-size: 24px;
}

.youpos-searchbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.youpos-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.youpos-product-card,
.youpos-loading-card {
  background: var(--youpos-card-soft);
  border: 1px solid var(--youpos-line);
  border-radius: 22px;
  padding: 12px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.youpos-loading-card {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  color: var(--youpos-muted);
  min-height: 160px;
  font-size: 13px;
  font-weight: 400;
}

.youpos-product-img {
  width: 100%;
  aspect-ratio: 1 / .75;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--youpos-line);
}

.youpos-product-image-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  border-radius: 18px;
  text-align: left;
}

.youpos-product-image-button:focus-visible {
  outline: 2px solid var(--youpos-dark);
  outline-offset: 3px;
}

.youpos-product-image-button .youpos-product-img {
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.youpos-product-image-button:hover .youpos-product-img {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
}

.youpos-product-image-button:active .youpos-product-img {
  transform: scale(.99);
  opacity: .92;
}

.youpos-product-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}

.youpos-product-meta {
  color: var(--youpos-muted);
  font-size: 13px;
  min-height: 18px;
}

.youpos-product-meta.has-match {
  color: var(--youpos-text);
  font-weight: 500;
}

.youpos-product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.youpos-product-price {
  font-size: 18px;
  font-weight: 800;
}

.youpos-add-product {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 50%;
  padding: 0;
  font-size: 23px;
}

.youpos-badge {
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.youpos-customer-box,
.youpos-payment-box {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.youpos-selected-customer {
  padding: 9px 12px;
  background: #f9fafb;
  border: 1px dashed var(--youpos-line);
  border-radius: 14px;
  color: black;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.youpos-customer-results {
  display: none;
  border: 1px solid var(--youpos-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.youpos-customer-result {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--youpos-line);
}

.youpos-customer-result:last-child {
  border-bottom: 0;
}

.youpos-customer-result:hover {
  background: #f9fafb;
}

.youpos-cart-items {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}

.youpos-empty-cart {
  color: var(--youpos-muted);
  background: #f9fafb;
  border: 1px dashed var(--youpos-line);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  font-weight: 700;
}

.youpos-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fafafa;
  border: 1px solid var(--youpos-line);
  border-radius: 18px;
  padding: 10px;
}

.youpos-cart-item img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.youpos-cart-title {
  font-weight: 800;
  line-height: 1.1;
}

.youpos-cart-price {
  color: var(--youpos-muted);
  margin-top: 3px;
  font-weight: 700;
}

.youpos-qty-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.youpos-qty-controls strong {
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

.youpos-qty-controls button,
.youpos-remove-item {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  border: 1px solid var(--youpos-line);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  appearance: none;
}

.youpos-remove-item {
  color: var(--youpos-error);
  font-size: 18px;
}

.youpos-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.youpos-payment-grid button.is-active {
  background: var(--youpos-dark);
  color: #fff;
  border-color: var(--youpos-dark);
}

.youpos-totals {
  border-top: 1px solid var(--youpos-line);
  margin-top: 14px;
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.youpos-totals div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
}

.youpos-totals span {
  color: var(--youpos-muted);
  font-weight: 700;
}

.youpos-totals strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

.youpos-checkout-btn {
  margin-top: 16px;
}

.youpos-message {
  margin-top: 12px;
  font-weight: 700;
  color: var(--youpos-muted);
}

.youpos-message.is-success {
  color: var(--youpos-success);
}

.youpos-message.is-error {
  color: var(--youpos-error);
}

.youpos-sales-mini {
  margin-top: 18px;
}

.youpos-sales-table-wrap {
  overflow: auto;
}

.youpos-sales-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 740px;
}

.youpos-sales-table th,
.youpos-sales-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--youpos-line);
  text-align: left;
  font-size: 13px;
}

.youpos-sales-table th {
  color: var(--youpos-muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

.youpos-sales-table a {
  color: var(--youpos-text);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1280px) {
  .youpos-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .youpos-layout {
    grid-template-columns: 1fr;
  }

  .youpos-cart-panel {
    position: static;
  }

  .youpos-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.youpos-standalone-body, .youpos-wrap, .youpos-login-wrap {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.youpos-admin-shell {
    margin: 0 10px 0 0;
  }

  .youpos-wrap {
    padding: 14px;
    border-radius: 0;
  }

  .youpos-topbar,
  .youpos-session-open,
  .youpos-session-closed {
    align-items: stretch;
    flex-direction: column;
  }

  .youpos-userbox {
    justify-content: space-between;
    width: 100%;
  }

  .youpos-session-actions,
  .youpos-searchbar {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .youpos-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .youpos-products-panel,
  .youpos-cart-panel,
  .youpos-sales-mini {
    padding: 14px;
    border-radius: 22px;
  }

  .youpos-product-card {
    min-height: 200px;
    border-radius: 18px;
  }

  .youpos-product-name {
    font-size: 15px;
  }

  .youpos-panel-head h2,
  .youpos-cart-head h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .youpos-login-card {
    padding: 24px;
    border-radius: 28px;
  }

  .youpos-login-card h1,
  .youpos-topbar h1 {
    font-size: 27px;
  }

  .youpos-products-grid {
    grid-template-columns: 1fr;
  }

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

  .youpos-cart-item {
    grid-template-columns: 48px 1fr;
  }

  .youpos-qty-controls {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

/* You POS v1.0.1 - Visual refinement requested by Eduardo Farías */
.youpos-product-name {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 500;
}

.youpos-cart-title {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.1;
}

.youpos-add-product {
  width: 30px;
  height: 30px;
  min-height: 30px;
  border-radius: 50%;
  padding: 0;
  font-weight: 400;
  font-size: 17px;
}

.youpos-btn-dark {
  color: #fff;
  background: var(--youpos-dark-2);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.youpos-btn-light,
.youpos-payment-grid button {
  color: var(--youpos-text);
  background: #f3f4f6;
  border: 0.5px solid var(--youpos-line);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.youpos-checkout-btn {
  margin-top: 16px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.youpos-mini-link {
  color: #fff;
  background: var(--youpos-dark);
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 400;
  text-transform: uppercase;
  border: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.youpos-empty-cart {
  color: var(--youpos-muted);
  background: #f9fafb;
  border: 1px dashed var(--youpos-line);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
}

.youpos-login-form input:not([type="checkbox"]),
.youpos-searchbar input,
.youpos-customer-box input,
.youpos-session-actions input,
.youpos-session-actions select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.youpos-selected-customer {
  padding: 9px 12px;
  background: #f9fafb;
  border: 1px dashed var(--youpos-line);
  border-radius: 14px;
  color: black;
  font-weight: 600;
  text-transform: uppercase;
}

.youpos-cart-price {
  color: black;
  margin-top: 3px;
  font-weight: 700;
}

.youpos-totals strong {
  font-size: 20px;
  letter-spacing: -.04em;
}

.youpos-totals span {
  color: black;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.youpos-panel-head h2,
.youpos-cart-head h2 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.youpos-session-open strong,
.youpos-session-closed strong {
  display: block;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.youpos-logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 50px;
  background: var(--youpos-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -.04em;
  font-size: 18px;
  box-shadow: var(--youpos-shadow-soft);
}


/* You POS v1.0.2 - Variables, pagination and product image quality */
.youpos-products-grid {
  align-items: stretch;
}

.youpos-product-card {
  overflow: hidden;
}

.youpos-product-img {
  width: 100%;
  aspect-ratio: 1 / .75;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  backface-visibility: hidden;
}

.youpos-product-name-row {
  display: grid;
  gap: 6px;
}

.youpos-type-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--youpos-muted);
  background: #fff;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.youpos-pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--youpos-line);
}

.youpos-page-nav,
.youpos-page-number {
  min-height: 34px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 13px;
  cursor: pointer;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.youpos-page-number {
  width: 34px;
  padding: 0;
}

.youpos-page-nav:hover,
.youpos-page-number:hover,
.youpos-page-number.is-active {
  color: #fff;
  background: var(--youpos-dark);
  border-color: var(--youpos-dark);
}

.youpos-page-nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.youpos-page-nav:disabled:hover {
  color: var(--youpos-text);
  background: #fff;
  border-color: var(--youpos-line);
}

.youpos-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.youpos-page-info {
  width: 100%;
  color: var(--youpos-muted);
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.youpos-modal-open {
  overflow: hidden;
}

.youpos-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.youpos-modal.is-open {
  display: flex;
}

.youpos-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .45);
  backdrop-filter: blur(8px);
}

.youpos-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .95);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(17, 24, 39, .24);
  padding: 20px;
}

.youpos-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.youpos-modal-head h2 {
  margin: 0;
  color: var(--youpos-text);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.youpos-modal-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--youpos-line);
  border-radius: 50%;
  background: #f9fafb;
  color: var(--youpos-text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  appearance: none;
}

.youpos-variation-list {
  display: grid;
  gap: 10px;
}

.youpos-variation-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--youpos-line);
  border-radius: 20px;
  background: #fafafa;
  padding: 10px;
  color: var(--youpos-text);
  cursor: pointer;
  text-align: left;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.youpos-variation-option:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  background: #fff;
}

.youpos-variation-option strong {
  display: block;
  font-size: 14px;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 500;
}

.youpos-variation-option small {
  display: block;
  margin-top: 5px;
  color: var(--youpos-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.youpos-variation-option b {
  color: var(--youpos-text);
  font-size: 16px;
  white-space: nowrap;
}

.youpos-variation-match-note {
  width: 100%;
  border: 1px dashed var(--youpos-line);
  background: #f9fafb;
  color: var(--youpos-text);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.youpos-variation-option.is-match {
  background: #fff;
  border-color: var(--youpos-dark);
  box-shadow: 0 0 0 1px var(--youpos-dark) inset;
}

@media (max-width: 782px) {
  .youpos-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .youpos-modal-card {
    width: 100%;
    max-height: 86vh;
    border-radius: 26px;
    padding: 16px;
  }

  .youpos-variation-option {
    grid-template-columns: 1fr;
  }

  .youpos-variation-option b {
    grid-column: auto;
    font-size: 15px;
  }
}


/* You POS v1.0.6 - Category filter and faster POS interaction */
.youpos-panel-head-products {
  align-items: flex-end;
}

.youpos-product-filter-wrap {
  min-width: 0;
  flex: 1;
}

.youpos-category-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.youpos-category-chip {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--youpos-line);
  background: #f9fafb;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 14px;
  cursor: pointer;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.youpos-category-chip:hover,
.youpos-category-chip.is-active {
  color: #fff;
  background: var(--youpos-dark);
  border-color: var(--youpos-dark);
}

.youpos-category-chip:hover {
  transform: translateY(-1px);
}

.youpos-modal-head h2 {
  margin: 0;
  color: var(--youpos-text);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.youpos-modal-close,
.youpos-qty-controls button,
.youpos-remove-item {
  display: inline-grid !important;
  place-items: center !important;
  text-align: center;
  border-radius: 999px !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box;
}

.youpos-modal-close {
  font-size: 24px;
  font-weight: 400;
  line-height: 0 !important;
  padding-bottom: 2px !important;
}

.youpos-qty-controls button,
.youpos-remove-item {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  font-size: 16px;
}

.youpos-remove-item {
  font-size: 18px;
  padding-bottom: 1px !important;
}

@media (max-width: 782px) {
  .youpos-panel-head-products {
    align-items: stretch;
    flex-direction: column;
  }

  .youpos-panel-head-products > .youpos-btn {
    width: fit-content;
  }
}

/* You POS v1.0.7 - Visual refinements and catalog warmup */
.youpos-login-form input:not([type="checkbox"]),
.youpos-searchbar input,
.youpos-customer-box input,
.youpos-session-actions input,
.youpos-session-actions select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 13px !important;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.youpos-product-price {
  font-size: 17px;
  font-weight: 800;
}

.youpos-preload-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -6px 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--youpos-muted);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .04);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.youpos-preload-status[hidden] {
  display: none !important;
}

.youpos-preload-status.is-done {
  color: var(--youpos-success);
}

.youpos-preload-status strong {
  color: var(--youpos-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.youpos-spinner {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(17, 24, 39, .14);
  border-top-color: var(--youpos-dark);
  display: inline-block;
  animation: youposSpin .72s linear infinite;
}

.youpos-preload-status.is-done .youpos-spinner {
  animation: none;
  border-color: var(--youpos-success);
  border-top-color: var(--youpos-success);
}

.youpos-loading-card .youpos-spinner {
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes youposSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 782px) {
  .youpos-preload-status {
    align-items: flex-start;
    border-radius: 18px;
    line-height: 1.2;
  }
}

/* Standalone POS page: no theme header, menu, footer or wrappers. */
body.youpos-standalone-page {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  background: #f4f5f7 !important;
  overflow-x: hidden;
}

body.youpos-standalone-page #wpadminbar {
  display: none !important;
}

body.youpos-standalone-page .youpos-standalone-root {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #f4f5f7;
}

body.youpos-standalone-page .youpos-wrap,
body.youpos-standalone-page .youpos-login-wrap {
  max-width: none;
}

/* You POS v1.0.9 - Cleaner loading state and hidden background optimizer */
.youpos-preload-status {
  display: none !important;
}

.youpos-search-loading {
  min-height: 160px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
  color: var(--youpos-muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

.youpos-search-loading span:last-child {
  transform: translateY(1px);
}

/* You POS v1.0.10 - visual ajustes + recibos */
input[type="search"],
input.search-field {
  font-size: 13px !important;
}

.youpos-category-chip {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--youpos-line);
  background: #f9fafb;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 14px;
  cursor: pointer;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.youpos-qty-controls button,
.youpos-remove-item {
  width: 32px !important;
  height: 32px !important;
  color: black;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  font-size: 16px;
}

.youpos-message.is-success {
  display: grid;
  gap: 10px;
}

.youpos-receipt-link,
.youpos-table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 13px;
  width: fit-content;
  text-decoration: none !important;
  background: var(--youpos-dark);
  color: #fff !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.youpos-table-link {
  min-height: 28px;
  background: #f3f4f6;
  color: var(--youpos-text) !important;
  border: 1px solid var(--youpos-line);
}

.youpos-receipts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.youpos-receipts-card,
.youpos-receipt-preview-wrap {
  background: #fff;
  border: 1px solid var(--youpos-line);
  border-radius: 24px;
  box-shadow: var(--youpos-shadow-soft);
  padding: 24px;
}

.youpos-receipts-card h2 {
  margin: 0 0 18px;
  color: var(--youpos-text);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.youpos-receipts-form label {
  display: block;
  margin: 14px 0 7px;
  color: var(--youpos-text);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}

.youpos-receipts-form input:not([type="checkbox"]),
.youpos-receipts-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 18px;
  padding: 12px 16px;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px !important;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.youpos-receipts-form input:not([type="checkbox"]) {
  border-radius: 999px;
}

.youpos-receipts-form textarea {
  resize: vertical;
  line-height: 1.35;
}

.youpos-logo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.youpos-receipt-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 18px 0 !important;
}

.youpos-receipt-check input {
  width: 18px;
  height: 18px;
}

.youpos-receipt-preview-wrap > .youpos-eyebrow {
  margin-bottom: 12px;
}

.youpos-receipt-preview {
  width: 100%;
  background: #fff;
  border: 1px solid var(--youpos-line);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
}

.youpos-receipt-preview img {
  max-width: 120px;
  max-height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}


.youpos-receipt-preview.is-bw,
.youpos-receipt-preview.is-bw * {
  color: #000 !important;
}

.youpos-receipt-preview.is-bw img,
.youpos-receipt-bw img {
  filter: grayscale(1) contrast(1.18);
}

.youpos-receipt-preview.is-bw hr,
.youpos-receipt-bw .youpos-receipt-sep {
  border-color: #000 !important;
}

.youpos-receipt-bw,
.youpos-receipt-bw * {
  color: #000 !important;
}

.youpos-receipt-bw {
  background: #fff !important;
}

.youpos-receipt-preview h3 {
  margin: 0 0 8px;
  color: var(--youpos-text);
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.youpos-receipt-preview p {
  margin: 3px 0;
  color: var(--youpos-muted);
  font-size: 13px;
  line-height: 1.2;
}

.youpos-receipt-preview hr {
  border: 0;
  border-top: 1px dashed var(--youpos-line);
  margin: 16px 0;
}

.youpos-receipt-row,
.youpos-receipt-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  margin: 8px 0;
}

.youpos-receipt-row span,
.youpos-receipt-row strong {
  font-size: 13px;
  color: var(--youpos-text);
}

.youpos-receipt-total span,
.youpos-receipt-total strong {
  color: var(--youpos-text);
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.youpos-receipt-preview h4 {
  margin: 18px 0 0;
  color: var(--youpos-text);
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
}

.youpos-receipt-help {
  margin: 14px 0 0 !important;
  color: var(--youpos-muted);
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-align: center;
}

@media (max-width: 1024px) {
  .youpos-receipts-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .youpos-logo-field {
    grid-template-columns: 1fr;
  }
}

/* You POS v1.0.11 - recibo automático + ventas en modal */
input[type="search"],
input.search-field {
  font-size: 13px !important;
}

.youpos-sales-launch {
  background: #fff;
  border: 1px solid var(--youpos-line);
  border-radius: var(--youpos-radius);
  box-shadow: var(--youpos-shadow-soft);
  padding: 20px;
}

.youpos-sales-modal-card {
  width: min(1040px, 100%);
}

.youpos-sales-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2px 0 16px;
}


.youpos-sales-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -6px 0 16px;
}

.youpos-sales-date-row label {
  color: var(--youpos-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.youpos-sales-date-row input[type="date"] {
  min-height: 38px;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  background: #fff;
  color: var(--youpos-text);
  padding: 0 14px;
  font-size: 13px;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  outline: none;
}

.youpos-sales-date-group td {
  background: #f9fafb;
  color: var(--youpos-muted);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--youpos-line);
}

.youpos-receipt-actions.is-loading,
.youpos-receipt-modal-actions.is-loading {
  opacity: .65;
  pointer-events: none;
}

.youpos-sales-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--youpos-line);
  border-radius: 18px;
  background: #f9fafb;
  color: var(--youpos-text);
  text-transform: uppercase;
}

.youpos-sales-summary strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.youpos-sales-summary span {
  color: var(--youpos-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
}

.youpos-message.is-success {
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.youpos-qty-controls button,
.youpos-remove-item {
  width: 32px !important;
  height: 32px !important;
  color: black;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  font-size: 16px;
}

@media (max-width: 782px) {
  .youpos-sales-launch {
    padding: 16px;
  }

  .youpos-sales-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* You POS v1.0.12 - recibo dentro del POS */
input[type="search"],
input.search-field {
  font-size: 13px !important;
}

.youpos-receipt-modal-card {
  width: min(680px, calc(100vw - 32px));
}

.youpos-receipt-modal-body {
  display: flex;
  justify-content: center;
  padding: 4px 0 0;
}

.youpos-receipt-modal-body .youpos-loading-card,
.youpos-receipt-modal-body .youpos-empty-cart {
  width: 100%;
}

.youpos-receipt-doc {
  width: 360px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--youpos-line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .10);
}

.youpos-receipt-doc img {
  display: block;
  max-width: 118px;
  max-height: 96px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.youpos-receipt-doc h1 {
  margin: 0 0 8px;
  color: var(--youpos-text);
  text-align: center;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.youpos-receipt-doc p {
  margin: 2px 0;
  color: #4b5563;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
}

.youpos-receipt-sep {
  border: 0;
  border-top: 1px dashed #d1d5db;
  margin: 16px 0;
}

.youpos-receipt-lines {
  display: grid;
  gap: 10px;
}

.youpos-receipt-line,
.youpos-receipt-total,
.youpos-receipt-meta div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.youpos-receipt-line span,
.youpos-receipt-meta span {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.18;
  text-transform: uppercase;
}

.youpos-receipt-line strong,
.youpos-receipt-meta strong {
  color: var(--youpos-text);
  font-size: 13px;
  line-height: 1.18;
  font-weight: 700;
  text-align: right;
}

.youpos-receipt-line small {
  display: block;
  color: var(--youpos-muted);
  font-size: 11px;
  text-transform: uppercase;
  margin-top: 2px;
}

.youpos-receipt-total span {
  color: var(--youpos-text);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.youpos-receipt-total strong {
  color: var(--youpos-text);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.youpos-receipt-meta {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
}

.youpos-receipt-modal-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.youpos-receipt-modal-actions .youpos-btn {
  flex: 0 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  white-space: nowrap;
}

.youpos-receipt-modal-actions[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .youpos-receipt-modal-actions {
    flex-wrap: wrap;
  }
}

button.youpos-table-link {
  cursor: pointer;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  [data-youpos-receipt-print-area],
  [data-youpos-receipt-print-area] * {
    visibility: visible !important;
  }

  [data-youpos-receipt-print-area] {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .youpos-modal-backdrop,
  .youpos-modal-head,
  .youpos-receipt-modal-actions {
    display: none !important;
  }
}


/* You POS v1.0.15 - PDF centrado y cambio de producto */
.youpos-sales-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

button.youpos-table-link {
  border: 1px solid var(--youpos-line);
  background: #f9fafb;
  color: var(--youpos-text);
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

button.youpos-table-link:hover {
  background: var(--youpos-dark);
  border-color: var(--youpos-dark);
  color: #fff;
}

.youpos-exchange-modal-card {
  width: min(620px, 100%);
}

.youpos-exchange-body {
  display: grid;
  gap: 12px;
}

.youpos-exchange-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--youpos-line);
  border-radius: 18px;
  background: #f9fafb;
  text-transform: uppercase;
}

.youpos-exchange-summary strong {
  font-size: 14px;
  font-weight: 600;
}

.youpos-exchange-summary span,
.youpos-exchange-note,
.youpos-exchange-cart-state {
  color: var(--youpos-muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.youpos-exchange-note {
  padding: 0 2px;
}

.youpos-exchange-items {
  display: grid;
  gap: 10px;
}

.youpos-exchange-item {
  display: grid;
  grid-template-columns: 24px 1fr 88px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--youpos-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.youpos-exchange-item.is-active {
  border-color: var(--youpos-dark);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .08);
  background: #fbfbfc;
}

.youpos-exchange-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.youpos-exchange-item b {
  display: block;
  color: var(--youpos-text);
  font-size: 13px;
  line-height: 1.12;
  text-transform: uppercase;
  font-weight: 600;
}

.youpos-exchange-item small {
  display: block;
  margin-top: 4px;
  color: var(--youpos-muted);
  font-size: 11px;
  line-height: 1.15;
  text-transform: uppercase;
}

.youpos-exchange-item input[type="number"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  padding: 0 12px;
  text-align: center;
  font-size: 13px !important;
}

.youpos-exchange-cart-state {
  padding: 12px 14px;
  border: 1px dashed var(--youpos-line);
  border-radius: 18px;
  background: #f9fafb;
}

.youpos-exchange-cart-state strong {
  color: var(--youpos-text);
}

.youpos-exchange-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

[data-youpos-exchange-message] {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .youpos-exchange-item {
    grid-template-columns: 24px 1fr;
  }
  .youpos-exchange-item input[type="number"] {
    grid-column: 2;
  }
  .youpos-exchange-actions {
    flex-direction: column;
  }
  .youpos-exchange-actions .youpos-btn {
    width: 100%;
  }
}

/* You POS v1.0.16 - acciones ventas + ruta /youpos */
button.youpos-table-link {
  border: 1px solid var(--youpos-line);
  background: #000;
  color: #fff !important;
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

button.youpos-table-link:hover {
  background: #111827;
  border-color: #111827;
  color: #fff !important;
}

/* You POS v1.0.17 - Multi Método y Complementos */
.youpos-payment-grid .youpos-payment-wide {
  grid-column: 1 / -1;
  width: 100%;
}

.youpos-complements-box {
  margin-top: 14px;
}

.youpos-complements-box label,
.youpos-payment-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--youpos-text);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

.youpos-complements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.youpos-complements-grid button {
  min-height: 46px;
  border: 1px solid var(--youpos-line);
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--youpos-text);
  cursor: pointer;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 10px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.youpos-complements-grid button:hover {
  background: var(--youpos-dark);
  border-color: var(--youpos-dark);
  color: #fff;
  transform: translateY(-1px);
}

.youpos-payment-summary,
.youpos-complement-summary {
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px dashed var(--youpos-line);
  border-radius: 14px;
  background: #f9fafb;
  color: var(--youpos-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.youpos-small-modal-card {
  width: min(520px, 100%);
}

.youpos-modal-form {
  display: grid;
  gap: 14px;
}

.youpos-modal-help {
  margin: 0;
  color: var(--youpos-muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.youpos-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.youpos-modal-form label {
  display: grid;
  gap: 7px;
  color: var(--youpos-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}

.youpos-modal-form input,
.youpos-modal-form select,
.youpos-modal-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
  border-radius: 999px;
  padding: 0 16px;
  font-family: 'KappaDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px !important;
  font-weight: 400;
  outline: none;
  text-transform: uppercase;
}

.youpos-modal-form textarea {
  min-height: 108px;
  border-radius: 18px;
  padding: 14px 16px;
  resize: vertical;
  text-transform: none;
}

.youpos-mini-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px dashed var(--youpos-line);
  border-radius: 16px;
  background: #f9fafb;
  text-transform: uppercase;
}

.youpos-mini-total span {
  color: var(--youpos-muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.youpos-mini-total strong {
  color: var(--youpos-text);
  font-size: 16px;
  font-weight: 700;
}

.youpos-modal-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.youpos-modal-actions-row .youpos-btn {
  min-width: 132px;
}

button.youpos-table-link {
  border: 1px solid var(--youpos-line);
  background: #f9fafb;
  color: var(--youpos-text);
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  color: white !important;
  background: black;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .youpos-form-grid-2,
  .youpos-complements-grid {
    grid-template-columns: 1fr;
  }
  .youpos-modal-actions-row {
    flex-direction: column;
  }
  .youpos-modal-actions-row .youpos-btn {
    width: 100%;
  }
}


/* You POS v2.0.1 - Caja en modal */
.youpos-session-panel[hidden] {
  display: none !important;
}

.youpos-userbox {
  gap: 8px;
  flex-wrap: wrap;
}

.youpos-session-pill {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: .05em;
  font-weight: 400;
  text-transform: uppercase;
  border: 1px solid var(--youpos-line);
  background: #fff;
  color: var(--youpos-text);
}

.youpos-session-pill.is-open {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.youpos-session-pill.is-closed {
  background: #f9fafb;
  color: var(--youpos-muted);
}

.youpos-register-modal-card {
  max-width: 520px;
}

.youpos-session-summary-card,
.youpos-session-methods {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.youpos-session-summary-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.youpos-session-summary-card > div,
.youpos-session-methods > div {
  min-height: 52px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid var(--youpos-line);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.youpos-session-summary-card span,
.youpos-session-methods span {
  color: var(--youpos-muted);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.youpos-session-summary-card strong,
.youpos-session-methods strong {
  color: var(--youpos-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .youpos-session-summary-card {
    grid-template-columns: 1fr;
  }
}

/* You POS v2.0.3 - Opción de recibo blanco y negro */
.youpos-wrap [hidden],
.youpos-modal [hidden],
.youpos-userbox [hidden] {
  display: none !important;
}

.youpos-open-session-modal .youpos-modal-head h2,
.youpos-close-session-modal .youpos-modal-head h2 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.youpos-close-session-modal .youpos-modal-help {
  margin-bottom: 14px;
}


/* You POS v2.0.4 - Impresión térmica alto contraste */
.youpos-receipt-preview.is-thermal,
.youpos-receipt-preview.is-thermal *,
.youpos-receipt-doc.youpos-receipt-thermal,
.youpos-receipt-doc.youpos-receipt-thermal * {
  color: #000 !important;
  text-shadow: none !important;
}

.youpos-receipt-preview.is-thermal,
.youpos-receipt-doc.youpos-receipt-thermal {
  background: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.youpos-receipt-preview.is-thermal img,
.youpos-receipt-doc.youpos-receipt-thermal img {
  filter: grayscale(1) contrast(2.6) brightness(.82) !important;
}

.youpos-receipt-doc.youpos-receipt-thermal p,
.youpos-receipt-doc.youpos-receipt-thermal span,
.youpos-receipt-doc.youpos-receipt-thermal strong,
.youpos-receipt-doc.youpos-receipt-thermal small,
.youpos-receipt-preview.is-thermal p,
.youpos-receipt-preview.is-thermal span,
.youpos-receipt-preview.is-thermal strong,
.youpos-receipt-preview.is-thermal h3,
.youpos-receipt-preview.is-thermal h4 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

.youpos-receipt-doc.youpos-receipt-thermal h1 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
}

.youpos-receipt-doc.youpos-receipt-thermal p {
  font-size: 13.5px !important;
  line-height: 1.3 !important;
}

.youpos-receipt-doc.youpos-receipt-thermal .youpos-receipt-line span,
.youpos-receipt-doc.youpos-receipt-thermal .youpos-receipt-meta span,
.youpos-receipt-doc.youpos-receipt-thermal .youpos-receipt-line strong,
.youpos-receipt-doc.youpos-receipt-thermal .youpos-receipt-meta strong {
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.youpos-receipt-doc.youpos-receipt-thermal .youpos-receipt-sep {
  border-top: 2px solid #000 !important;
}

@media print {
  @page {
    size: 80mm auto;
    margin: 3mm 4mm;
  }

  html,
  body {
    width: 80mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  [data-youpos-receipt-print-area] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 72mm !important;
    max-width: 72mm !important;
    min-width: 72mm !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
  }

  [data-youpos-receipt-print-area],
  [data-youpos-receipt-print-area] * {
    color: #000 !important;
    text-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  [data-youpos-receipt-print-area] img {
    filter: grayscale(1) contrast(2.8) brightness(.82) !important;
    max-width: 28mm !important;
    max-height: 22mm !important;
  }

  [data-youpos-receipt-print-area] h1 {
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
  }

  [data-youpos-receipt-print-area] p,
  [data-youpos-receipt-print-area] span,
  [data-youpos-receipt-print-area] strong,
  [data-youpos-receipt-print-area] small {
    font-weight: 700 !important;
  }

  [data-youpos-receipt-print-area] p {
    font-size: 11.5px !important;
    line-height: 1.28 !important;
  }

  [data-youpos-receipt-print-area] .youpos-receipt-line span,
  [data-youpos-receipt-print-area] .youpos-receipt-meta span,
  [data-youpos-receipt-print-area] .youpos-receipt-line strong,
  [data-youpos-receipt-print-area] .youpos-receipt-meta strong {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }

  [data-youpos-receipt-print-area] .youpos-receipt-sep {
    border-top: 1.6px solid #000 !important;
  }
}


/* You POS v3.0.3 - Ajustes visuales y carrito sticky frontal */
.youpos-panel-head h2,
.youpos-cart-head h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.youpos-checkout-btn {
  margin-top: 16px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 13.5px;
}

body.youpos-standalone-page {
  overflow-x: clip !important;
}

body.youpos-standalone-page .youpos-standalone-root,
body.youpos-standalone-page .youpos-wrap,
body.youpos-standalone-page .youpos-layout {
  overflow: visible !important;
}

@media (min-width: 1025px) {
  body.youpos-standalone-page .youpos-layout {
    align-items: start !important;
  }

  body.youpos-standalone-page .youpos-cart-panel {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 18px !important;
    align-self: start !important;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    z-index: 25;
  }
}

/* You POS v3.1.0 - filtros de origen de ventas */
.youpos-sales-source-filters {
  margin-top: -8px;
  margin-bottom: 16px;
}