.commerce-interface {
  --commerce-blue: #2b4e9a;
  --commerce-blue-dark: #18356f;
  --commerce-blue-soft: #eef3ff;
  --commerce-ink: #111b32;
  --commerce-muted: #667085;
  --commerce-line: #e2e8f0;
  --commerce-bg: #f5f7fb;
  --commerce-success: #157347;
  --commerce-danger: #d6293e;
  --commerce-shadow: 0 18px 50px rgba(24, 53, 111, .08);
}

.commerce-interface #app:has(.commerce-cart-page),
.commerce-interface #app:has(.commerce-account-page) {
  background: radial-gradient(circle at 8% 0%, rgba(43, 78, 154, .08), transparent 28rem), var(--commerce-bg);
  min-height: calc(100vh - 80px);
}

.commerce-cart-page,
.commerce-account-page { color: var(--commerce-ink); padding: 38px 0 150px; }

@media (min-width: 1001px) {
  .commerce-interface #app:has(.commerce-orders-page) { padding-top: 72px; }
}

.commerce-cart-page .container,
.commerce-account-page .container { max-width: 1420px; }
.commerce-breadcrumb { align-items: center; color: #7b8498; display: flex; font-size: .78rem; font-weight: 600; gap: 9px; margin-bottom: 22px; }
.commerce-breadcrumb button { background: none; border: 0; color: var(--commerce-blue); padding: 0; }
.commerce-breadcrumb i { font-size: .58rem; }
.commerce-page-heading { align-items: flex-end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 30px; }
.commerce-page-heading > div { max-width: 790px; }
.commerce-eyebrow { color: var(--commerce-blue); display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; text-transform: uppercase; }
.commerce-page-heading h1 { color: var(--commerce-ink); font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.commerce-page-heading p { color: var(--commerce-muted); font-size: .96rem; line-height: 1.65; margin: 13px 0 0; max-width: 720px; }
.commerce-surface { background: #fff; border: 1px solid var(--commerce-line); border-radius: 22px; box-shadow: var(--commerce-shadow); }
.commerce-button { align-items: center; border: 1px solid transparent; border-radius: 12px; display: inline-flex; font-size: .82rem; font-weight: 700; gap: 9px; justify-content: center; min-height: 46px; padding: 0 18px; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.commerce-button:hover { transform: translateY(-2px); }
.commerce-button--primary { background: var(--commerce-blue); box-shadow: 0 10px 24px rgba(43, 78, 154, .22); color: #fff; }
.commerce-button--primary:hover { background: var(--commerce-blue-dark); color: #fff; }
.commerce-button--secondary { background: #fff; border-color: var(--commerce-line); color: var(--commerce-ink); }
.commerce-button--danger { background: var(--commerce-danger); color: #fff; }
.commerce-button--wide { width: 100%; }
.commerce-alert { align-items: flex-start; background: #fff; border: 1px solid var(--commerce-line); border-left: 4px solid var(--commerce-blue); border-radius: 14px; display: flex; gap: 11px; margin-bottom: 18px; padding: 14px 16px; }
.commerce-alert--danger { background: #fff5f6; border-left-color: var(--commerce-danger); color: #a71d2a; }
.commerce-alert--success { background: #f2fbf6; border-left-color: var(--commerce-success); color: #126139; }
.commerce-alert--warning { background: #fff9eb; border-left-color: #d99000; color: #765100; }

/* Seller sales context */
.commerce-interface .seller-context-notice {
  align-items: flex-start;
  animation: seller-context-enter 320ms cubic-bezier(.2, .8, .2, 1) both;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--commerce-line);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(17, 27, 50, .14);
  gap: 12px;
  max-width: min(380px, calc(100vw - 48px));
  overflow: hidden;
  padding: 15px 16px 15px 18px;
  position: fixed;
  right: 24px;
  text-align: left;
  top: 100px;
  width: max-content;
  z-index: 90;
}
.commerce-interface .seller-context-notice::before {
  background: var(--commerce-blue);
  content: '';
  inset: 0 auto 0 0;
  position: absolute;
  width: 4px;
}
.commerce-interface .seller-context-notice.is-warning::before { background: var(--commerce-danger); }
.commerce-interface .seller-context-notice__icon {
  align-items: center;
  background: var(--commerce-blue-soft);
  border-radius: 13px;
  color: var(--commerce-blue);
  display: flex;
  flex: 0 0 42px;
  font-size: 1rem;
  height: 42px;
  justify-content: center;
}
.commerce-interface .seller-context-notice.is-warning .seller-context-notice__icon {
  background: #fff0f2;
  color: var(--commerce-danger);
}
.commerce-interface .seller-context-notice__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.commerce-interface .seller-context-notice__eyebrow {
  color: var(--commerce-blue);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.commerce-interface .seller-context-notice.is-warning .seller-context-notice__eyebrow { color: var(--commerce-danger); }
.commerce-interface .seller-context-notice__content > strong {
  color: var(--commerce-ink);
  font-size: .88rem;
  line-height: 1.25;
}
.commerce-interface .seller-context-notice__customer {
  color: var(--commerce-blue);
  font-size: .78rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.commerce-interface .seller-context-notice__content p,
.commerce-interface .seller-context-notice__content small {
  color: var(--commerce-muted);
  font-size: .7rem;
  line-height: 1.45;
  margin: 1px 0 0;
}
.commerce-interface .seller-context-notice__action {
  align-items: center;
  align-self: start;
  background: transparent;
  border: 0;
  color: var(--commerce-blue);
  display: inline-flex;
  font-size: .7rem;
  font-weight: 800;
  gap: 7px;
  margin-top: 5px;
  padding: 0;
  transition: color 180ms ease, gap 180ms ease;
}
.commerce-interface .seller-context-notice__action:hover {
  color: var(--commerce-blue-dark);
  gap: 10px;
}
@keyframes seller-context-enter {
  from { opacity: 0; transform: translate3d(12px, -8px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-interface .seller-context-notice { animation: none; }
}

/* Seller customer selection */
.commerce-interface .commerce-customer-modal .modal-dialog { max-width: 590px; }
.commerce-interface .commerce-customer-modal .modal-content {
  background: #fff;
  border: 1px solid rgba(43, 78, 154, .14);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(17, 27, 50, .24);
}
.commerce-interface .commerce-customer-modal .modal-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--commerce-line);
  gap: 14px;
  padding: 25px 26px 22px;
}
.commerce-interface .commerce-customer-modal .modal-header > div { flex: 1; min-width: 0; }
.commerce-interface .commerce-customer-modal__icon {
  align-items: center;
  background: var(--commerce-blue-soft);
  border-radius: 14px;
  color: var(--commerce-blue);
  display: flex;
  flex: 0 0 46px;
  font-size: 1rem;
  height: 46px;
  justify-content: center;
}
.commerce-interface .commerce-customer-modal__eyebrow {
  color: var(--commerce-blue);
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.commerce-interface .commerce-customer-modal .modal-title {
  color: var(--commerce-ink);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.commerce-interface .commerce-customer-modal .modal-header p {
  color: var(--commerce-muted);
  font-size: .75rem;
  line-height: 1.5;
  margin: 5px 0 0;
}
.commerce-interface .commerce-customer-modal .modal-header .btn-close {
  background-color: var(--commerce-blue-soft);
  background-size: 10px;
  border-radius: 11px;
  flex: 0 0 38px;
  height: 38px;
  margin: 0;
  opacity: 1;
  padding: 0;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 38px;
}
.commerce-interface .commerce-customer-modal .modal-header .btn-close:hover {
  background-color: #e1e9fb;
  transform: rotate(5deg);
}
.commerce-interface .commerce-customer-modal .modal-body {
  display: grid;
  gap: 21px;
  padding: 24px 26px 28px;
}
.commerce-interface .commerce-customer-modal__notice {
  align-items: flex-start;
  background: var(--commerce-blue-soft);
  border-radius: 14px;
  color: var(--commerce-blue-dark);
  display: flex;
  font-size: .73rem;
  gap: 9px;
  line-height: 1.5;
  padding: 12px 14px;
}
.commerce-interface .commerce-customer-modal__notice i { margin-top: 3px; }
.commerce-interface .commerce-customer-modal__search-mode {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.commerce-interface .commerce-customer-modal__search-mode legend,
.commerce-interface .commerce-customer-modal__field > label strong {
  color: var(--commerce-ink);
  font-size: .74rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.commerce-interface .commerce-customer-modal__segments {
  background: #f2f5fb;
  border: 1px solid var(--commerce-line);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}
.commerce-interface .commerce-customer-modal__segments label {
  align-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--commerce-muted);
  cursor: pointer;
  display: flex;
  font-size: .72rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  text-align: center;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.commerce-interface .commerce-customer-modal__segments .btn-check:checked + label {
  background: #fff;
  box-shadow: 0 5px 14px rgba(43, 78, 154, .12);
  color: var(--commerce-blue);
}
.commerce-interface .commerce-customer-modal__segments .btn-check:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(43, 78, 154, .16);
}
.commerce-interface .commerce-customer-modal__field { display: grid; gap: 10px; }
.commerce-interface .commerce-customer-modal__field > label { display: grid; gap: 2px; }
.commerce-interface .commerce-customer-modal__field > label strong { margin: 0; }
.commerce-interface .commerce-customer-modal__field > label small {
  color: var(--commerce-muted);
  font-size: .66rem;
}
.commerce-interface .commerce-customer-modal .ts-wrapper { width: 100%; }
.commerce-interface .commerce-customer-modal .ts-control {
  align-items: center;
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 13px;
  box-shadow: none;
  color: var(--commerce-ink);
  display: flex;
  font-size: .8rem;
  min-height: 50px;
  padding: 10px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.commerce-interface .commerce-customer-modal .ts-wrapper.focus .ts-control {
  border-color: var(--commerce-blue);
  box-shadow: 0 0 0 4px rgba(43, 78, 154, .1);
}
.commerce-interface .commerce-customer-modal .ts-dropdown {
  border: 1px solid var(--commerce-line);
  border-radius: 13px;
  box-shadow: 0 18px 42px rgba(17, 27, 50, .16);
  margin-top: 6px;
  overflow: hidden;
}
.commerce-interface .commerce-customer-modal .ts-dropdown .option { padding: 11px 14px; }
.commerce-interface .commerce-customer-modal .ts-dropdown .active {
  background: var(--commerce-blue-soft);
  color: var(--commerce-ink);
}
.commerce-interface .commerce-customer-modal .modal-footer {
  background: #fbfcff;
  border-radius: 0 0 24px 24px;
  border-top: 1px solid var(--commerce-line);
  gap: 10px;
  padding: 17px 26px 20px;
}
.commerce-interface .commerce-customer-modal .modal-footer .commerce-button { min-width: 142px; }
.commerce-interface .commerce-customer-modal #apply-customer-btn:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}
@media (max-width: 575.98px) {
  .commerce-interface .commerce-customer-modal .modal-dialog {
    align-items: flex-end;
    display: flex;
    margin: 0;
    min-height: 100%;
  }
  .commerce-interface .commerce-customer-modal .modal-content {
    border-radius: 24px 24px 0 0;
    max-height: calc(100dvh - 18px);
  }
  .commerce-interface .commerce-customer-modal .modal-header { padding: 20px 18px 18px; }
  .commerce-interface .commerce-customer-modal .modal-body { overflow-y: auto; padding: 20px 18px 24px; }
  .commerce-interface .commerce-customer-modal__segments { grid-template-columns: minmax(0, 1fr); }
  .commerce-interface .commerce-customer-modal .modal-footer {
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  }
  .commerce-interface .commerce-customer-modal .modal-footer .commerce-button { min-width: 0; padding-inline: 10px; }
}

/* POS checkout */
.commerce-interface #app:has(.commerce-pos-page) {
  background: radial-gradient(circle at 12% 0%, rgba(43, 78, 154, .08), transparent 30rem), var(--commerce-bg);
  min-height: calc(100vh - 86px);
}
.commerce-interface .commerce-pos-page {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  max-width: 1420px !important;
  padding: 34px 24px 150px !important;
}
.commerce-interface .pos-page-intro {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}
.commerce-interface .pos-page-intro > div { max-width: 760px; }
.commerce-interface .pos-eyebrow {
  color: var(--commerce-blue);
  display: inline-block;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.commerce-interface .pos-page-intro h1 {
  color: var(--commerce-ink);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 0;
}
.commerce-interface .pos-page-intro p,
.commerce-interface .pos-step-heading p {
  color: var(--commerce-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin: 12px 0 0;
}
.commerce-interface .pos-order-count {
  align-items: center;
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 14px;
  color: var(--commerce-blue);
  display: inline-flex;
  font-size: .74rem;
  font-weight: 800;
  gap: 8px;
  padding: 12px 15px;
  white-space: nowrap;
}
.commerce-interface .commerce-pos-page .progress-container {
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  box-shadow: var(--commerce-shadow);
  margin-bottom: 24px;
  padding: 20px 24px 18px;
}
.commerce-interface .pos-progress-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.commerce-interface .pos-progress-heading span {
  color: var(--commerce-blue);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.commerce-interface .pos-progress-heading strong {
  color: var(--commerce-muted);
  font-size: .68rem;
  font-weight: 700;
}
.commerce-interface .commerce-pos-page .progress {
  background: #e8edf8;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.commerce-interface .commerce-pos-page .progress-bar {
  background: var(--commerce-blue);
  color: transparent;
  transition: width 320ms cubic-bezier(.2, .8, .2, 1);
}
.commerce-interface .commerce-pos-page .progress-icons {
  align-items: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}
.commerce-interface .pos-progress-step {
  align-items: center;
  color: #98a2b3;
  display: flex;
  font-size: .72rem;
  gap: 8px;
}
.commerce-interface .pos-progress-step:nth-child(2) { justify-content: center; }
.commerce-interface .pos-progress-step:last-child { justify-content: flex-end; }
.commerce-interface .pos-progress-step i {
  align-items: center;
  background: #f1f4fa;
  border-radius: 9px;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.commerce-interface .pos-progress-step small { font-size: .65rem; font-weight: 700; }
.commerce-interface .commerce-pos-page:has(#step1:not(.step-hidden)) .pos-progress-step:first-child,
.commerce-interface .commerce-pos-page:has(#step2:not(.step-hidden)) .pos-progress-step:nth-child(-n+2) { color: var(--commerce-blue); }
.commerce-interface .commerce-pos-page:has(#step1:not(.step-hidden)) .pos-progress-step:first-child i,
.commerce-interface .commerce-pos-page:has(#step2:not(.step-hidden)) .pos-progress-step:nth-child(-n+2) i {
  background: var(--commerce-blue-soft);
  color: var(--commerce-blue);
}
.commerce-interface .commerce-pos-page #step1.pos-step-panel,
.commerce-interface .commerce-pos-page #step2.pos-step-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.commerce-interface .commerce-pos-page #step1.pos-step-panel {
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 22px;
  box-shadow: var(--commerce-shadow);
  padding: 28px;
}
.commerce-interface .pos-step-heading { margin-bottom: 22px; }
.commerce-interface .commerce-pos-page .pos-step-heading h3 {
  color: var(--commerce-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0;
}
.commerce-interface .pos-address-list { display: grid; gap: 10px; }
.commerce-interface .commerce-pos-page .address-item {
  align-items: center;
  background: #fbfcff;
  border: 1px solid var(--commerce-line);
  border-radius: 14px;
  color: var(--commerce-ink);
  display: flex;
  font-size: .76rem;
  gap: 12px;
  margin: 0;
  min-height: 54px;
  padding: 13px 16px;
}
.commerce-interface .commerce-pos-page .address-item::before {
  align-items: center;
  background: var(--commerce-blue-soft);
  border-radius: 10px;
  color: var(--commerce-blue);
  content: '\f3c5';
  display: flex;
  flex: 0 0 34px;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  height: 34px;
  justify-content: center;
}
.commerce-interface .commerce-pos-page .address-item:hover,
.commerce-interface .commerce-pos-page .address-item.active {
  background: var(--commerce-blue-soft);
  border-color: rgba(43, 78, 154, .45);
  color: var(--commerce-blue-dark);
  transform: translateX(3px);
}
.commerce-interface .pos-step-actions { margin-top: 20px; }
.commerce-interface .pos-checkout-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 390px;
}
.commerce-interface .pos-products-column,
.commerce-interface .pos-summary-column { min-width: 0; }
.commerce-interface .pos-section-heading {
  align-items: center;
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 17px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 70px;
  padding: 14px 17px;
}
.commerce-interface .pos-section-heading > div { display: grid; gap: 2px; }
.commerce-interface .pos-section-heading span {
  color: var(--commerce-blue);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.commerce-interface .pos-section-heading strong {
  color: var(--commerce-ink);
  font-size: .9rem;
}
.commerce-interface .pos-section-heading small,
.commerce-interface .pos-section-heading > i {
  background: var(--commerce-blue-soft);
  border-radius: 999px;
  color: var(--commerce-blue);
  font-size: .66rem;
  font-weight: 800;
  padding: 8px 11px;
}
.commerce-interface .pos-product-list { display: grid; gap: 12px; }
.commerce-interface .commerce-pos-page .app-products-item {
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 19px;
  box-shadow: 0 12px 34px rgba(24, 53, 111, .07);
  display: grid;
  gap: 17px;
  grid-template-columns: 132px minmax(0, 1fr) 44px;
  margin: 0;
  min-height: 190px;
  padding: 16px;
}
.commerce-interface .commerce-pos-page .app-products-item:hover {
  border-color: rgba(43, 78, 154, .3);
  box-shadow: 0 18px 42px rgba(24, 53, 111, .11);
  transform: translateY(-2px);
}
.commerce-interface .commerce-pos-page .app-products-item-icon {
  background: #f8faff;
  border: 1px solid #edf1f7;
  border-radius: 15px;
  height: 100%;
  min-height: 156px;
  overflow: hidden;
  width: 100%;
}
.commerce-interface .commerce-pos-page .app-products-item-icon img {
  height: 100%;
  max-height: 180px;
  max-width: none;
  object-fit: contain;
  padding: 9px;
  width: 100%;
}
.commerce-interface .commerce-pos-page .app-products-item-data { padding: 1px 0; width: 100%; }
.commerce-interface .commerce-pos-page .app-products-item-data h4 {
  color: var(--commerce-ink);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 7px;
}
.commerce-interface .commerce-pos-page .app-products-item-data > p {
  color: var(--commerce-muted);
  display: inline-flex;
  font-size: .66rem;
  gap: 4px;
  margin: 0 14px 5px 0;
}
.commerce-interface .commerce-pos-page .app-products-item-data > p i { color: var(--commerce-blue); }
.commerce-interface .commerce-pos-page .app-products-item-data .product-scales { margin-top: 8px; max-width: 100%; }
.commerce-interface .commerce-pos-page .app-products-item-quantity { margin-top: 10px; max-width: 220px; }
.commerce-interface .commerce-pos-page .quantity-selector {
  background: #f5f7fb;
  border: 1px solid #dfe5f0;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 40px minmax(56px, 1fr) 40px;
  height: 40px;
  overflow: hidden;
  width: 100%;
}
.commerce-interface .commerce-pos-page .quantity-selector button {
  background: transparent;
  border: 0;
  color: var(--commerce-blue);
}
.commerce-interface .commerce-pos-page .quantity-selector input {
  background: #fff;
  border: 0;
  border-inline: 1px solid #dfe5f0;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  width: 100%;
}
.commerce-interface .commerce-pos-page .app-products-item-data .mb-3 {
  align-items: end;
  display: grid;
  gap: 7px 9px;
  grid-template-columns: minmax(150px, 1fr) auto;
  margin: 11px 0 0 !important;
  max-width: 500px;
}
.commerce-interface .commerce-pos-page .app-products-item-data .mb-3 label {
  color: var(--commerce-muted);
  font-size: .62rem;
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0 !important;
}
.commerce-interface .commerce-pos-page .app-products-item-data textarea {
  border: 1px solid var(--commerce-line);
  border-radius: 10px;
  font-size: .68rem;
  margin: 0 !important;
  max-width: none !important;
  min-height: 42px;
  padding: 10px 11px;
  width: 100% !important;
}
.commerce-interface .commerce-pos-page .app-products-item-data .mb-3 .btn {
  background: var(--commerce-blue);
  border: 0;
  border-radius: 10px;
  font-size: .65rem;
  font-weight: 800;
  margin: 0 !important;
  max-width: none !important;
  min-height: 42px;
  padding-inline: 14px;
  width: auto !important;
}
.commerce-interface .commerce-pos-page .app-products-item-del {
  align-items: start;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  width: 100%;
}
.commerce-interface .commerce-pos-page .app-products-item-del button {
  align-items: center;
  background: #fff0f2;
  border: 0;
  border-radius: 12px;
  color: var(--commerce-danger);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.commerce-interface .commerce-pos-page .app-products-item-del button:hover { background: var(--commerce-danger); color: #fff; }
.commerce-interface .pos-summary-column {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 104px;
}
.commerce-interface.role-guest .pos-summary-column { position: static; }
.commerce-interface .commerce-pos-page .total-summary,
.commerce-interface .pos-shipping-section {
  background: #fff;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  box-shadow: var(--commerce-shadow);
  margin: 0;
  padding: 21px;
}
.commerce-interface .commerce-pos-page .total-summary h5 {
  color: var(--commerce-ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 15px;
}
.commerce-interface .pos-summary-total {
  align-items: center;
  background: var(--commerce-blue-dark);
  border-radius: 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 15px 16px;
}
.commerce-interface .pos-summary-total > span { font-size: .7rem; font-weight: 700; opacity: .78; }
.commerce-interface .pos-summary-total strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.commerce-interface .commerce-pos-page .total-summary .form-label,
.commerce-interface .pos-shipping-section .form-label {
  color: var(--commerce-ink);
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.commerce-interface .commerce-pos-page .total-summary .form-control,
.commerce-interface .commerce-pos-page .total-summary .form-select,
.commerce-interface .pos-shipping-section .form-control {
  background: #fbfcff;
  border: 1px solid var(--commerce-line);
  border-radius: 11px;
  box-shadow: none;
  color: var(--commerce-ink);
  font-size: .72rem;
  min-height: 44px;
}
.commerce-interface .commerce-pos-page .total-summary .form-control:focus,
.commerce-interface .commerce-pos-page .total-summary .form-select:focus,
.commerce-interface .pos-shipping-section .form-control:focus {
  background: #fff;
  border-color: var(--commerce-blue);
  box-shadow: 0 0 0 4px rgba(43, 78, 154, .09);
}
.commerce-interface .commerce-pos-page .total-summary textarea { min-height: 76px; }
.commerce-interface .commerce-pos-page .total-summary .bg-light,
.commerce-interface .commerce-pos-page .total-summary .form-check {
  background: var(--commerce-blue-soft) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: var(--commerce-muted) !important;
  font-size: .66rem !important;
  line-height: 1.55 !important;
  padding: 12px !important;
}
.commerce-interface .commerce-pos-page .total-summary .form-check {
  padding-left: 38px !important;
}
.commerce-interface .pos-summary-actions {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  margin-top: 17px;
}
.commerce-interface .pos-summary-actions .commerce-button { min-width: 0; padding-inline: 10px; width: 100%; }
.commerce-interface .pos-shipping-section { padding: 18px; }
.commerce-interface .pos-shipping-section .pos-section-heading {
  border: 0;
  margin: 0 0 15px;
  min-height: 0;
  padding: 0 0 13px;
}
.commerce-interface .pos-shipping-section #customer-info-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.commerce-interface .pos-shipping-section #customer-info-form .row { --bs-gutter-x: 10px; }
.commerce-interface .pos-shipping-section #customer-info-form .mb-3 { margin-bottom: 10px !important; }
@media (min-width: 1200px) {
  body.commerce-interface:has(.commerce-pos-page) .seller-context-notice {
    position: absolute;
    top: 103px;
  }
  body.commerce-interface.role-seller:has(.commerce-pos-page) .pos-page-intro {
    min-height: 104px;
    padding-right: 390px;
  }
}
@media (max-width: 1100px) {
  .commerce-interface .pos-checkout-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .commerce-interface .commerce-pos-page .app-products-item { grid-template-columns: 110px minmax(0, 1fr) 42px; }
}
@media (max-width: 900px) {
  .commerce-interface .pos-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .commerce-interface .pos-summary-column { position: static; }
}
@media (max-width: 767px) {
  .commerce-interface .commerce-pos-page { padding: 22px 12px 110px !important; }
  .commerce-interface .pos-page-intro { align-items: flex-start; flex-direction: column; gap: 15px; }
  .commerce-interface .pos-page-intro h1 { font-size: 2.25rem; }
  .commerce-interface .pos-order-count { padding: 10px 12px; }
  .commerce-interface .commerce-pos-page .progress-container { border-radius: 17px; padding: 17px 15px 14px; }
  .commerce-interface .pos-progress-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .commerce-interface .pos-progress-step { flex-direction: column; gap: 5px; text-align: center; }
  .commerce-interface .pos-progress-step:nth-child(2),
  .commerce-interface .pos-progress-step:last-child { justify-content: flex-start; }
  .commerce-interface .pos-progress-step small { font-size: .58rem; }
  .commerce-interface .commerce-pos-page #step1.pos-step-panel { border-radius: 18px; padding: 20px 16px; }
  .commerce-interface .pos-step-heading { margin-bottom: 17px; }
  .commerce-interface .commerce-pos-page .pos-step-heading h3 { font-size: 1.55rem; }
  .commerce-interface .pos-section-heading { border-radius: 15px; min-height: 64px; padding: 12px 14px; }
  .commerce-interface .commerce-pos-page .app-products-item {
    gap: 12px;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    padding: 13px;
  }
  .commerce-interface .commerce-pos-page .app-products-item-icon { min-height: 116px; }
  .commerce-interface .commerce-pos-page .app-products-item-data h4 { font-size: .76rem; padding-right: 34px; }
  .commerce-interface .commerce-pos-page .app-products-item-data .product-scales,
  .commerce-interface .commerce-pos-page .app-products-item-quantity,
  .commerce-interface .commerce-pos-page .app-products-item-data .mb-3 { grid-column: 1 / -1; max-width: none; }
  .commerce-interface .commerce-pos-page .app-products-item-data .mb-3 { grid-template-columns: minmax(0, 1fr); }
  .commerce-interface .commerce-pos-page .app-products-item-del {
    height: 36px;
    position: absolute;
    right: 11px;
    top: 11px;
    width: 36px;
  }
  .commerce-interface .commerce-pos-page .app-products-item-del button { border-radius: 10px; height: 36px; width: 36px; }
  .commerce-interface .commerce-pos-page .total-summary,
  .commerce-interface .pos-shipping-section { border-radius: 18px; padding: 18px 16px; }
}
@media (max-width: 390px) {
  .commerce-interface .commerce-pos-page .app-products-item { grid-template-columns: 78px minmax(0, 1fr); }
  .commerce-interface .commerce-pos-page .app-products-item-icon { min-height: 100px; }
  .commerce-interface .pos-summary-actions { grid-template-columns: minmax(0, 1fr); }
}

.cart-local-search { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 14px; display: grid; gap: 12px; grid-template-columns: 220px 1fr; margin-bottom: 18px; padding: 12px 14px; }
.cart-local-search > span { color: var(--commerce-blue); font-size: .78rem; font-weight: 700; }
.cart-local-search input { border: 0; min-height: 38px; outline: 0; width: 100%; }
.commerce-cart-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 350px; }
.commerce-cart-items { overflow: hidden; }
.commerce-cart-items__header { align-items: center; border-bottom: 1px solid var(--commerce-line); display: flex; justify-content: space-between; padding: 20px 24px; }
.commerce-cart-items__header h2,
.account-section__heading h2,
.favorites-heading h2 { font-size: 1.18rem; font-weight: 700; margin: 0; }
.commerce-cart-items__units,
.account-result-count { background: var(--commerce-blue-soft); border-radius: 999px; color: var(--commerce-blue); font-size: .74rem; font-weight: 700; padding: 8px 12px; }
.commerce-interface .commerce-cart-item { align-items: stretch; background: #fff; border: 0; border-bottom: 1px solid var(--commerce-line); border-radius: 0; display: grid; gap: 20px; grid-template-columns: 148px minmax(0, 1fr) 118px; margin: 0; padding: 24px; position: relative; transition: background-color 180ms ease, opacity 230ms ease, transform 230ms ease; }
.commerce-interface .commerce-cart-item:last-child { border-bottom: 0; }
.commerce-interface .commerce-cart-item:hover { background: #fbfcff; }
.commerce-interface .commerce-cart-item.is-removing { opacity: 0; transform: translateX(24px); }
.commerce-cart-item__media { align-items: center; align-self: start; aspect-ratio: 1; background: #f8f9fc; border: 1px solid #eef0f5; border-radius: 16px; display: flex; justify-content: center; overflow: hidden; padding: 9px; width: 100%; }
.commerce-cart-item__media img { height: 100%; object-fit: contain; transition: transform 220ms ease; width: 100%; }
.commerce-cart-item__media:hover img { transform: scale(1.05); }
.commerce-interface .commerce-cart-item__content { padding: 0; width: auto; }
.commerce-cart-item__topline { align-items: center; display: flex; gap: 10px; margin-bottom: 8px; }
.commerce-cart-item__number { color: #8a94a7; font-size: .7rem; font-weight: 800; }
.commerce-status-pill { align-items: center; background: #eaf8f0; border-radius: 999px; color: var(--commerce-success); display: inline-flex; font-size: .66rem; font-weight: 800; gap: 5px; padding: 5px 9px; text-transform: uppercase; }
.commerce-status-pill.is-limited { background: #fff4e5; color: #ad6500; }
.commerce-cart-item__content h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0 0 4px; }
.commerce-cart-item__content h3 button,
.favorite-product-row__info h3 button { background: none; border: 0; color: inherit; font: inherit; padding: 0; text-align: left; }
.commerce-cart-item__code { color: var(--commerce-muted); font-size: .74rem !important; margin: 0 0 14px; }
.commerce-cart-item__commercial { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 10px; }
.commerce-cart-item__commercial span { display: flex; flex-direction: column; gap: 1px; }
.commerce-cart-item__commercial small,
.commerce-cart-item__aside small,
.commerce-cart-summary small { color: var(--commerce-muted); font-size: .64rem; }
.commerce-cart-item__commercial strong { color: var(--commerce-ink); font-size: .78rem; }
.commerce-cart-item__scales .product-scales { background: #f7f9fd; border: 1px solid #e8edf7; border-radius: 11px; margin: 10px 0 14px; padding: 10px 12px; }
.commerce-cart-item__scales .product-scales > strong { color: var(--commerce-blue); }
.commerce-cart-item__scales .scale-badges-container { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.commerce-cart-item__scales .scale-badge { background: #fff; border: 1px solid #dde5f4; border-radius: 8px; font-size: .67rem; padding: 6px 8px; }
.commerce-cart-item__controls { align-items: end; display: grid; gap: 14px; grid-template-columns: 150px minmax(230px, 1fr); }
.commerce-cart-item__controls label { color: #4a5568; display: block; font-size: .67rem !important; font-weight: 700; margin-bottom: 6px; }
.commerce-interface .commerce-cart-item .quantity-selector,
.favorite-product-row .quantity-selector-add { background: #f5f7fb; border: 1px solid #dfe5f0; border-radius: 11px; display: grid; grid-template-columns: 40px 1fr 40px; height: 42px; overflow: hidden; width: 100%; }
.commerce-interface .commerce-cart-item .quantity-selector button,
.favorite-product-row .quantity-selector-add button { background: transparent; border: 0; color: var(--commerce-blue); }
.commerce-interface .commerce-cart-item .quantity-selector input,
.favorite-product-row .quantity-selector-add input { background: #fff; border: 0; border-inline: 1px solid #dfe5f0; font-size: .78rem; font-weight: 700; text-align: center; width: 100%; }
.commerce-cart-item__note > div { display: grid; gap: 7px; grid-template-columns: 1fr auto; }
.commerce-cart-item__note textarea { border-color: #dfe5f0; border-radius: 10px; font-size: .74rem !important; min-height: 42px; resize: vertical; }
.commerce-note-save { background: var(--commerce-blue-soft); border: 0; border-radius: 10px; color: var(--commerce-blue); font-size: .7rem !important; font-weight: 700; padding: 0 13px; }
.commerce-cart-item__aside { align-items: flex-end; display: flex; flex-direction: column; justify-content: space-between; }
.commerce-cart-item__aside > span { align-items: flex-end; display: flex; flex-direction: column; }
.commerce-cart-item__aside > span strong { color: var(--commerce-blue); font-size: 1.12rem; }
.commerce-cart-item__delete { align-items: center; background: #fff2f4; border: 0; border-radius: 11px; color: var(--commerce-danger); display: flex; height: 42px; justify-content: center; transition: transform 180ms ease, background 180ms ease; width: 42px; }
.commerce-cart-item__delete:hover { background: var(--commerce-danger); color: #fff; transform: scale(1.06); }
.commerce-cart-summary { padding: 24px; position: sticky; top: 98px; }
.commerce-cart-summary h2 { font-size: 1.28rem; margin: 0 0 20px; }
.commerce-summary-line { align-items: center; border-bottom: 1px solid #edf0f5; display: flex; font-size: .78rem; justify-content: space-between; padding: 11px 0; }
.commerce-summary-line--total { border: 0; font-size: .9rem; margin-top: 5px; padding: 16px 0; }
.commerce-summary-line--total strong { color: var(--commerce-blue); font-size: 1.35rem; }
.commerce-minimum-progress { background: #fff5f6; border-radius: 12px; color: #a71d2a; margin: 16px 0 5px; padding: 13px; }
.commerce-minimum-progress strong { display: block; font-size: .72rem; }
.commerce-minimum-progress small { display: block; margin-top: 7px; }
.commerce-minimum-progress.is-complete { background: #edf9f2; color: var(--commerce-success); }
.commerce-progress-track { background: rgba(214, 41, 62, .12); border-radius: 99px; height: 6px; margin-top: 9px; overflow: hidden; }
.commerce-progress-track span { background: var(--commerce-danger); border-radius: inherit; display: block; height: 100%; }
.commerce-summary-link { align-items: center; background: #f7f9fd; border: 0; border-radius: 10px; color: var(--commerce-blue); display: flex; font-size: .7rem; font-weight: 700; gap: 8px; justify-content: center; margin-top: 9px; min-height: 40px; text-decoration: none; width: 100%; }
.commerce-summary-link--danger { color: var(--commerce-danger); }
.commerce-purchase-hint { color: var(--commerce-muted); display: flex; font-size: .66rem; gap: 8px; line-height: 1.5; margin: 14px 0 0; }
.commerce-purchase-hint i { color: var(--commerce-blue); margin-top: 2px; }
.commerce-cart-empty { margin: 60px auto; max-width: 690px; padding: 64px 28px; text-align: center; }
.commerce-cart-empty > span,
.account-empty-state > span { align-items: center; background: var(--commerce-blue-soft); border-radius: 50%; color: var(--commerce-blue); display: inline-flex; font-size: 1.6rem; height: 74px; justify-content: center; width: 74px; }
.commerce-cart-empty h1,
.account-empty-state h2 { font-size: 1.65rem; margin: 18px 0 8px; }
.commerce-cart-empty p,
.account-empty-state p { color: var(--commerce-muted); margin: 0 auto 22px; max-width: 520px; }

.commerce-account-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: 260px minmax(0, 1fr); }
.account-navigation { overflow: hidden; padding: 14px; position: sticky; top: 98px; }
.account-navigation__person { align-items: center; border-bottom: 1px solid var(--commerce-line); display: flex; gap: 11px; margin-bottom: 9px; padding: 7px 7px 16px; }
.account-navigation__person > span { align-items: center; background: var(--commerce-blue); border-radius: 13px; color: #fff; display: flex; flex: 0 0 44px; font-size: .86rem; font-weight: 800; height: 44px; justify-content: center; }
.account-navigation__person > span i { font-size: 1rem; }
.account-navigation__person div { min-width: 0; }
.account-navigation__person strong,
.account-navigation__person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-navigation__person strong { font-size: .78rem; }
.account-navigation__person small { color: var(--commerce-muted); font-size: .64rem; margin-top: 2px; }
.account-navigation nav { display: grid; gap: 4px; }
.account-navigation nav button { align-items: center; background: transparent; border: 0; border-radius: 11px; color: #536078; display: grid; font-size: .75rem; font-weight: 600; gap: 10px; grid-template-columns: 20px 1fr auto; min-height: 45px; padding: 0 11px; text-align: left; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.account-navigation nav button:hover { background: #f5f7fb; color: var(--commerce-blue); transform: translateX(2px); }
.account-navigation nav button.is-active { background: var(--commerce-blue); box-shadow: 0 8px 18px rgba(43, 78, 154, .2); color: #fff; }
.account-navigation nav button > i:last-child { font-size: .55rem; }
.account-navigation nav .favorite-menu-count { background: rgba(43, 78, 154, .1); border-radius: 99px; color: inherit; font-size: .63rem; padding: 3px 7px; }
.account-navigation nav button.is-active .favorite-menu-count { background: rgba(255,255,255,.18); }
.account-navigation__support { align-items: center; background: var(--commerce-blue-soft); border-radius: 12px; display: grid; gap: 9px; grid-template-columns: 25px 1fr auto; margin-top: 14px; padding: 12px; }
.account-navigation__support > i { color: #189d58; font-size: 1.15rem; }
.account-navigation__support strong,
.account-navigation__support small { display: block; }
.account-navigation__support strong { font-size: .67rem; }
.account-navigation__support small { color: var(--commerce-muted); font-size: .56rem; }
.account-navigation__support a { color: var(--commerce-blue); }
.account-navigation__logout { align-items: center; color: var(--commerce-danger); display: flex; font-size: .7rem; font-weight: 700; gap: 9px; justify-content: center; margin-top: 12px; padding: 8px; text-decoration: none; }
.commerce-account-content { display: grid; gap: 20px; min-width: 0; }
.account-section { padding: 24px; }
.account-section__heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.account-section__secure { color: var(--commerce-muted); font-size: .65rem; }
.account-section__secure i { color: var(--commerce-success); margin-right: 4px; }

.orders-filter-toggle { background: transparent; border: 0; color: var(--commerce-blue); display: none; font-size: .72rem; font-weight: 700; }
.orders-filter-form { align-items: end; display: grid; gap: 12px; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; }
.orders-filter-form label,
.commerce-form-modal label { display: grid; gap: 6px; }
.orders-filter-form label > span,
.commerce-form-modal label > span { color: #4d596f; font-size: .65rem; font-weight: 700; }
.orders-filter-form input,
.orders-filter-form select,
.commerce-form-modal input,
.commerce-form-modal select { background: #fff; border: 1px solid #dbe1ec; border-radius: 10px; color: var(--commerce-ink); font-size: .75rem; height: 44px; min-width: 0; padding: 0 11px; width: 100%; }
.orders-history { display: grid; gap: 14px; }
.orders-card-list { display: grid; gap: 13px; }
.order-card { overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.order-card:hover { box-shadow: 0 22px 55px rgba(24, 53, 111, .12); transform: translateY(-2px); }
.order-card__main { align-items: center; background: #fff; border: 0; display: grid; gap: 16px; grid-template-columns: 48px minmax(150px, 1.2fr) minmax(150px, 1fr) minmax(120px, .7fr) auto; padding: 20px; text-align: left; width: 100%; }
.order-card__icon { align-items: center; background: var(--commerce-blue-soft); border-radius: 13px; color: var(--commerce-blue); display: flex; height: 48px; justify-content: center; }
.order-card__identity,
.order-card__state,
.order-card__total { display: flex; flex-direction: column; gap: 4px; }
.order-card__identity strong { font-size: .82rem; }
.order-card__identity small,
.order-card__state small,
.order-card__total small { color: var(--commerce-muted); font-size: .62rem; }
.order-card__total strong { color: var(--commerce-blue); font-size: 1rem; }
.order-status { align-self: flex-start; background: #edf2ff; border-radius: 999px; color: var(--commerce-blue); font-size: .62rem; font-weight: 800; padding: 6px 9px; text-transform: uppercase; }
.order-status--TERMINADO,
.order-status--FACTURADO,
.order-status--ENVIADO { background: #eaf8f0; color: var(--commerce-success); }
.order-status--ANULADO { background: #fff0f2; color: var(--commerce-danger); }
.order-status--DESPACHOS,
.order-status--DESPACHO { background: #fff5e7; color: #a75c00; }
.order-card__detail { color: var(--commerce-blue); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.order-card__footer { align-items: center; background: #f8faff; border-top: 1px solid #edf0f6; display: flex; justify-content: space-between; padding: 11px 16px 11px 20px; }
.order-card__footer > span { color: var(--commerce-muted); font-size: .62rem; }
.order-card__footer > span i { color: var(--commerce-blue); margin-right: 4px; }
.order-card__footer .commerce-button { min-height: 38px; padding-inline: 14px; }
.account-empty-state { padding: 54px 24px; text-align: center; }
.commerce-order-modal,
.commerce-form-modal,
.commerce-confirm-modal { border: 0; border-radius: 20px; overflow: hidden; }
.commerce-order-modal .modal-header,
.commerce-form-modal .modal-header { align-items: flex-start; border-bottom-color: var(--commerce-line); padding: 20px 22px; }
.commerce-order-modal .modal-title,
.commerce-form-modal .modal-title { font-size: 1.25rem; margin: 0; }
.commerce-order-modal .modal-body { padding: 22px; }
.commerce-order-modal .modal-footer { background: #f8faff; border-top-color: var(--commerce-line); color: var(--commerce-blue); padding: 16px 22px; }
.commerce-form-modal .modal-body { display: grid; gap: 14px; padding: 22px; }

.profile-overview { background: linear-gradient(120deg, var(--commerce-blue-dark), var(--commerce-blue)); color: #fff; overflow: hidden; padding: 26px; position: relative; }
.profile-overview::after { background: rgba(255,255,255,.06); border-radius: 50%; content: ''; height: 240px; position: absolute; right: -70px; top: -120px; width: 240px; }
.profile-overview__identity { align-items: center; display: flex; gap: 15px; position: relative; z-index: 1; }
.profile-overview__avatar { align-items: center; background: #fff; border: 4px solid rgba(255,255,255,.18); border-radius: 18px; color: var(--commerce-blue); display: flex; flex: 0 0 62px; font-size: 1.05rem; font-weight: 800; height: 62px; justify-content: center; }
.profile-overview__avatar i { font-size: 1.2rem; }
.profile-overview .commerce-eyebrow { color: #cbd8fb; }
.profile-overview h2 { font-size: 1.45rem; margin: 0; }
.profile-overview__identity p { align-items: center; color: #dce5fb; display: flex; font-size: .68rem; gap: 10px; margin: 7px 0 0; }
.profile-overview .commerce-status-pill { background: rgba(255,255,255,.14); color: #fff; }
.profile-overview__shortcuts { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-top: 23px; position: relative; z-index: 1; }
.profile-overview__shortcuts button { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 13px; color: #fff; display: grid; gap: 2px 8px; grid-template-columns: 34px 1fr; padding: 11px; text-align: left; transition: background 180ms ease, transform 180ms ease; }
.profile-overview__shortcuts button:hover { background: rgba(255,255,255,.17); transform: translateY(-2px); }
.profile-overview__shortcuts button > span { align-items: center; background: rgba(255,255,255,.12); border-radius: 9px; display: flex; grid-row: 1 / 3; height: 34px; justify-content: center; }
.profile-overview__shortcuts button > strong { font-size: .88rem; }
.profile-overview__shortcuts button > small { color: #d7e0f7; font-size: .58rem; }
.profile-data-grid { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-data-grid > div { align-items: center; background: #f8faff; border: 1px solid #e9edf5; border-radius: 13px; display: flex; gap: 11px; min-width: 0; padding: 13px; }
.profile-data-grid > div > span { align-items: center; background: var(--commerce-blue-soft); border-radius: 10px; color: var(--commerce-blue); display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.profile-data-grid p { min-width: 0; margin: 0; }
.profile-data-grid small,
.profile-data-grid strong { display: block; }
.profile-data-grid small { color: var(--commerce-muted); font-size: .6rem; }
.profile-data-grid strong { font-size: .72rem; margin-top: 2px; overflow-wrap: anywhere; }
.profile-branches-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-branches-grid button { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 13px; display: grid; gap: 11px; grid-template-columns: 38px 1fr auto; padding: 13px; text-align: left; transition: border 180ms ease, transform 180ms ease; }
.profile-branches-grid button:hover { border-color: var(--commerce-blue); transform: translateY(-2px); }
.profile-branches-grid button > span { align-items: center; background: var(--commerce-blue-soft); border-radius: 10px; color: var(--commerce-blue); display: flex; height: 38px; justify-content: center; }
.profile-branches-grid p { margin: 0; min-width: 0; }
.profile-branches-grid strong,
.profile-branches-grid small { display: block; }
.profile-branches-grid strong { font-size: .7rem; }
.profile-branches-grid small { color: var(--commerce-muted); font-size: .57rem; margin-top: 3px; }
.profile-branches-grid button > i { color: #9aa3b5; font-size: .62rem; }
.account-inline-empty { align-items: center; background: #f8faff; border-radius: 13px; color: var(--commerce-muted); display: flex; gap: 12px; padding: 18px; }
.account-inline-empty > i { color: var(--commerce-blue); font-size: 1.3rem; }
.account-inline-empty strong,
.account-inline-empty small { display: block; }
.account-inline-empty strong { color: var(--commerce-ink); font-size: .73rem; }
.account-inline-empty small { font-size: .62rem; margin-top: 3px; }
.collaborator-list { border: 1px solid var(--commerce-line); border-radius: 14px; overflow: hidden; }
.collaborator-list article { align-items: center; border-bottom: 1px solid var(--commerce-line); display: grid; gap: 12px; grid-template-columns: 38px minmax(150px, 1fr) minmax(150px, .8fr) auto; padding: 13px; }
.collaborator-list article:last-child { border: 0; }
.collaborator-list__avatar { align-items: center; background: var(--commerce-blue-soft); border-radius: 10px; color: var(--commerce-blue); display: flex; font-size: .72rem; font-weight: 800; height: 38px; justify-content: center; }
.collaborator-list article div strong,
.collaborator-list article div small { display: block; }
.collaborator-list article div strong { font-size: .72rem; }
.collaborator-list article div small { color: var(--commerce-muted); font-size: .6rem; }
.collaborator-list__branch { color: #536078; font-size: .65rem; }
.collaborator-list form button { background: #fff1f3; border: 0; border-radius: 9px; color: var(--commerce-danger); height: 36px; width: 36px; }

.favorites-heading { align-items: center; display: flex; justify-content: space-between; }
.favorites-list { display: grid; gap: 13px; }
.favorite-product-row { align-items: center; display: grid; gap: 18px; grid-template-columns: 116px minmax(220px, 1fr) 120px 170px; padding: 18px; position: relative; transition: box-shadow 180ms ease, transform 180ms ease; }
.favorite-product-row:hover { box-shadow: 0 22px 55px rgba(24, 53, 111, .12); transform: translateY(-2px); }
.favorite-product-row.is-removing { opacity: 0; transform: translateX(24px); }
.favorite-product-row__media { align-items: center; aspect-ratio: 1; background: #f8f9fc; border: 1px solid #edf0f5; border-radius: 14px; display: flex; justify-content: center; overflow: hidden; padding: 8px; }
.favorite-product-row__media img { height: 100%; object-fit: contain; width: 100%; }
.favorite-product-row__status { align-items: center; display: flex; gap: 8px; }
.favorite-product-row__status small { color: var(--commerce-muted); font-size: .6rem; }
.favorite-product-row__info h3 { font-size: .88rem; margin: 8px 0 3px; }
.favorite-product-row__info > p { color: var(--commerce-muted); font-size: .66rem; margin: 0 0 8px; }
.favorite-product-row__info .product-scales { background: #f7f9fd; border-radius: 9px; padding: 8px; }
.favorite-product-row__info .product-scales > strong { color: var(--commerce-blue); font-size: .65rem !important; }
.favorite-product-row__info .scale-badges-container { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.favorite-product-row__info .scale-badge { background: #fff; border: 1px solid #e2e8f2; border-radius: 7px; font-size: .58rem; padding: 4px 6px; }
.favorite-product-row__price { align-items: flex-end; display: flex; flex-direction: column; }
.favorite-product-row__price small { color: var(--commerce-muted); font-size: .6rem; }
.favorite-product-row__price strong { color: var(--commerce-blue); font-size: 1.1rem; }
.favorite-product-row__actions { display: grid; gap: 8px; }
.favorite-product-row__actions .favorite-toggle--detail { align-items: center; background: #fff1f3; border: 0; border-radius: 10px; color: var(--commerce-danger); display: flex; font-size: .65rem; font-weight: 700; gap: 7px; justify-content: center; min-height: 38px; position: static; width: 100%; }
.commerce-pagination { align-items: center; display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.commerce-pagination button { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 10px; color: var(--commerce-blue); display: flex; height: 40px; justify-content: center; width: 40px; }
.commerce-pagination button:disabled { color: #bbc2cf; cursor: not-allowed; }
.commerce-pagination span { color: var(--commerce-muted); font-size: .7rem; }
.desktop-favorites-shortcut { position: relative; }
.desktop-favorites-shortcut .favorite-menu-count { align-items: center; background: var(--commerce-danger); border: 2px solid #fff; border-radius: 50%; color: #fff; display: flex; font-size: 8px; height: 18px; justify-content: center; position: absolute; right: 4px; top: 2px; width: 18px; }
.commerce-confirm-modal .modal-body { padding: 28px 28px 14px; text-align: center; }
.commerce-confirm-modal__icon { align-items: center; background: #fff0f2; border-radius: 50%; color: var(--commerce-danger); display: flex; font-size: 1.25rem; height: 58px; justify-content: center; margin: 0 auto 14px; width: 58px; }
.commerce-confirm-modal h2 { font-size: 1.3rem; }
.commerce-confirm-modal p { color: var(--commerce-muted); font-size: .75rem; }
.commerce-minimum-message { display: grid; gap: 8px; text-align: center; }
.commerce-minimum-message strong { color: var(--commerce-danger); font-size: 1rem; }
.commerce-minimum-message p { color: var(--commerce-muted); line-height: 1.6; margin: 0; }
.commerce-minimum-message b { color: var(--commerce-ink); }

/* Catalog structure */
.commerce-interface #app:has(.catalog-page) {
  background: radial-gradient(circle at 8% 0%, rgba(43, 78, 154, .08), transparent 30rem), var(--commerce-bg);
  min-height: calc(100vh - 80px);
}
.catalog-page { color: var(--commerce-ink); padding: 34px 0 150px; }
.catalog-page__container { max-width: 1420px; }
.catalog-page-header { align-items: flex-end; display: flex; gap: 28px; justify-content: space-between; margin-bottom: 22px; }
.catalog-page-header__copy { max-width: 760px; }
.catalog-results__heading > div > span { color: var(--commerce-blue); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; text-transform: uppercase; }
.catalog-page-header h1 { font-size: clamp(2.15rem, 4vw, 3.55rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin: 0; }
.catalog-page-header p { color: var(--commerce-muted); font-size: .92rem; line-height: 1.65; margin: 13px 0 0; }
.catalog-page-header__actions { align-items: stretch; display: flex; gap: 10px; }
.catalog-result-count { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 13px; color: var(--commerce-muted); display: inline-flex; font-size: .7rem; gap: 5px; padding: 0 15px; white-space: nowrap; }
.catalog-result-count strong { color: var(--commerce-blue); font-size: .9rem; }
.catalog-category-button { align-items: center; background: var(--commerce-blue); border: 0; border-radius: 13px; box-shadow: 0 12px 26px rgba(43, 78, 154, .22); color: #fff; display: inline-flex; font-size: .75rem; font-weight: 700; gap: 10px; min-height: 50px; padding: 0 17px; transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.catalog-category-button:hover { background: var(--commerce-blue-dark); box-shadow: 0 16px 32px rgba(43, 78, 154, .28); transform: translateY(-2px); }
.catalog-query-summary { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-left: 4px solid var(--commerce-blue); border-radius: 12px; color: var(--commerce-muted); display: flex; font-size: .78rem; gap: 10px; margin-bottom: 14px; padding: 11px 14px; }
.catalog-query-summary i,
.catalog-query-summary strong { color: var(--commerce-blue); }
.catalog-context-strip { align-items: center; background: rgba(255,255,255,.94); border: 1px solid var(--commerce-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(24, 53, 111, .05); display: flex; gap: 8px; margin-bottom: 22px; min-height: 58px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
.catalog-context-strip::-webkit-scrollbar { display: none; }
.catalog-context-strip button { border: 0; }
.catalog-context-strip__categories { align-items: center; background: var(--commerce-blue); border-radius: 10px; color: #fff; display: inline-flex; flex: none; font-size: .72rem; font-weight: 700; gap: 8px; min-height: 40px; padding: 0 13px; }
.catalog-context-chip { align-items: center; background: #fff; border: 1px solid var(--commerce-line) !important; border-radius: 10px; color: var(--commerce-muted); display: inline-flex; flex: none; font-size: .68rem; font-weight: 700; gap: 6px; min-height: 40px; padding: 0 12px; }
.catalog-context-chip.is-active,
.catalog-context-chip.is-selected { background: var(--commerce-blue-soft); border-color: #ccd9f5 !important; color: var(--commerce-blue); }
.catalog-context-chip.is-selected span { align-items: baseline; display: inline-flex; gap: 4px; }
.catalog-context-chip.is-selected small { color: var(--commerce-muted); font-size: .57rem; font-weight: 600; }
.catalog-context-chip__remove { align-items: center; background: rgba(43, 78, 154, .1); border-radius: 50%; display: inline-flex; font-size: .58rem; height: 19px; justify-content: center; margin-left: 2px; transition: background-color 160ms ease, color 160ms ease; width: 19px; }
.catalog-context-chip.is-selected:hover .catalog-context-chip__remove { background: var(--commerce-blue); color: #fff; }
.catalog-context-strip__hint { color: var(--commerce-muted); font-size: .67rem; margin-left: auto; padding: 0 9px; white-space: nowrap; }
.catalog-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: 278px minmax(0, 1fr); }
.catalog-filter-panel { background: #fff; border: 1px solid var(--commerce-line); border-radius: 19px; box-shadow: var(--commerce-shadow); overflow: hidden; position: sticky; top: 102px; }
.catalog-filter-panel__heading { align-items: center; border-bottom: 1px solid var(--commerce-line); display: grid; gap: 9px; grid-template-columns: 36px minmax(0,1fr) auto; padding: 16px; }
.catalog-filter-panel__icon { align-items: center; background: var(--commerce-blue-soft); border-radius: 10px; color: var(--commerce-blue); display: flex; height: 36px; justify-content: center; width: 36px; }
.catalog-filter-panel__heading strong,
.catalog-filter-panel__heading small { display: block; }
.catalog-filter-panel__heading strong { font-size: .78rem; }
.catalog-filter-panel__heading small { color: var(--commerce-muted); font-size: .59rem; margin-top: 2px; }
.catalog-filter-panel__heading button { background: transparent; border: 0; color: var(--commerce-blue); font-size: .63rem; font-weight: 700; padding: 6px 0; }
.catalog-filter-form { display: grid; gap: 14px; padding: 16px; }
.catalog-filter-form > label { display: grid; gap: 7px; }
.catalog-filter-form > label > span,
.catalog-filter-panel .catalog-tags__title { color: var(--commerce-muted); font-size: .64rem; font-weight: 700; margin: 0; }
.catalog-filter-form .form-select { background-color: #fff; border: 1px solid var(--commerce-line); border-radius: 11px; color: var(--commerce-ink); font-size: .72rem; min-height: 44px; padding-inline: 11px 34px; box-shadow: none; }
.catalog-filter-form .form-select:focus { border-color: var(--commerce-blue); box-shadow: 0 0 0 4px rgba(43, 78, 154, .09); }
.catalog-filter-panel .catalog-tags { margin: 2px 0 0; }
.catalog-filter-panel .catalog-tags__list { display: grid; gap: 7px; }
.commerce-interface .catalog-filter-panel .catalog-tags__item { background: #fff5f6; border: 1px solid #ffd9dd; color: #a81f31; justify-content: flex-start; min-height: 37px; padding: 7px 10px; width: 100%; }
.commerce-interface .catalog-filter-panel .catalog-tags__item small { color: #be5360; margin-left: auto; }
.commerce-interface .catalog-filter-panel .catalog-tags__item:hover,
.commerce-interface .catalog-filter-panel .catalog-tags__item.is-active { background: var(--commerce-danger); border-color: var(--commerce-danger); color: #fff; }
.commerce-interface .catalog-filter-panel .catalog-tags__item:hover small,
.commerce-interface .catalog-filter-panel .catalog-tags__item.is-active small { color: #fff; }
.catalog-filter-panel .active-tag-filter { align-items: flex-start; flex-direction: column; margin: 0; }
.catalog-filter-submit { align-items: center; background: var(--commerce-blue); border: 0; border-radius: 11px; box-shadow: 0 10px 22px rgba(43, 78, 154, .18); color: #fff; display: flex; font-size: .72rem; font-weight: 700; gap: 8px; justify-content: center; min-height: 45px; transition: background-color 180ms ease, transform 180ms ease; width: 100%; }
.catalog-filter-submit:hover { background: var(--commerce-blue-dark); transform: translateY(-1px); }
.catalog-filter-trigger { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 12px; color: var(--commerce-blue); display: flex; font-size: .74rem; font-weight: 700; justify-content: space-between; margin-bottom: 12px; min-height: 47px; padding: 0 14px; width: 100%; }
.catalog-filter-trigger span { display: inline-flex; gap: 8px; }
.catalog-filter-trigger em { background: var(--commerce-blue-soft); border-radius: 999px; font-size: .61rem; font-style: normal; padding: 5px 8px; }
.catalog-results { min-width: 0; }
.catalog-results__heading { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 14px; min-height: 50px; }
.catalog-results__heading h2 { font-size: 1.12rem; font-weight: 700; margin: 0; }
.catalog-pagination { align-items: center; display: flex; gap: 7px; justify-content: center; }
.catalog-pagination button,
.catalog-pagination__status { align-items: center; background: #fff; border: 1px solid var(--commerce-line); border-radius: 10px; color: var(--commerce-blue); display: inline-flex; font-size: .66rem; font-weight: 700; gap: 7px; justify-content: center; min-height: 39px; padding: 0 12px; }
.catalog-pagination button { transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.catalog-pagination button:hover { background: var(--commerce-blue); color: #fff; transform: translateY(-1px); }
.catalog-pagination__status { background: var(--commerce-blue-soft); border-color: transparent; color: var(--commerce-muted); }
.catalog-pagination__status strong { color: var(--commerce-blue); }
.catalog-pagination--bottom { border: 1px solid var(--commerce-line); border-radius: 16px; margin-top: 24px; min-height: 76px; padding: 12px; }
.commerce-interface .catalog-product-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.commerce-interface .catalog-product-grid > .catalog-product-column { max-width: none; padding: 0; width: auto; }
.catalog-product-column .product-item { height: 100%; margin-bottom: 0; }
.catalog-product-column .product-card-content { height: 100%; }
.catalog-empty-state { background: #fff; border: 1px solid var(--commerce-line); border-radius: 18px; color: var(--commerce-muted); grid-column: 1 / -1; margin: 20px 0; padding: 34px; text-align: center; }
.catalog-empty-state p { margin: 0; }

@media (max-width: 1199.98px) {
  .commerce-cart-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .commerce-interface .commerce-cart-item { grid-template-columns: 120px minmax(0, 1fr) 100px; padding: 19px; }
  .commerce-cart-item__controls { grid-template-columns: 140px minmax(190px, 1fr); }
  .favorite-product-row { grid-template-columns: 100px minmax(200px, 1fr) 105px 155px; }
  .catalog-layout { grid-template-columns: 244px minmax(0, 1fr); }
  .commerce-interface .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .commerce-cart-page,
  .commerce-account-page { padding-top: 24px; }
  .commerce-cart-layout,
  .commerce-account-layout { grid-template-columns: 1fr; }
  .commerce-cart-summary,
  .account-navigation { position: static; }
  .account-navigation__person,
  .account-navigation__support,
  .account-navigation__logout { display: none; }
  .account-navigation nav { grid-template-columns: repeat(3, 1fr); }
  .orders-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orders-filter-form .commerce-button { grid-column: span 2; }
  .favorite-product-row { grid-template-columns: 100px minmax(0, 1fr) 120px; }
  .favorite-product-row__actions { grid-column: 2 / -1; grid-template-columns: 150px 1fr 1fr; }
  .catalog-page { padding-top: 24px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filter-panel { position: static; }
  .commerce-interface .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .commerce-cart-page,
  .commerce-account-page { padding: 18px 0 125px; }
  .commerce-cart-page .container,
  .commerce-account-page .container { padding-inline: 14px; }
  .commerce-breadcrumb { margin-bottom: 15px; }
  .commerce-page-heading { align-items: stretch; flex-direction: column; margin-bottom: 22px; }
  .commerce-page-heading h1 { font-size: 2rem; }
  .commerce-page-heading p { font-size: .82rem; }
  .commerce-page-heading .commerce-button { align-self: flex-start; }
  .commerce-surface { border-radius: 17px; }
  .cart-local-search { grid-template-columns: 1fr; }
  .commerce-cart-items__header { padding: 16px; }
  .commerce-interface .commerce-cart-item { gap: 13px; grid-template-columns: 88px minmax(0, 1fr); padding: 16px; }
  .commerce-cart-item__aside { align-items: center; flex-direction: row; grid-column: 1 / -1; }
  .commerce-cart-item__aside > span { align-items: flex-start; }
  .commerce-cart-item__controls { grid-template-columns: 1fr; }
  .commerce-cart-item__commercial { flex-direction: column; gap: 6px; }
  .commerce-cart-item__note > div { grid-template-columns: 1fr; }
  .commerce-note-save { min-height: 38px; }
  .commerce-cart-item__scales .scale-badges-container { display: grid; grid-template-columns: 1fr; }
  .commerce-cart-summary { padding: 20px; }
  .account-navigation { overflow-x: auto; padding: 7px; }
  .account-navigation nav { gap: 5px; min-width: 390px; }
  .account-navigation nav button { display: flex; justify-content: center; min-height: 43px; padding-inline: 10px; white-space: nowrap; }
  .account-navigation nav button > i:last-child { display: none; }
  .account-section { padding: 18px; }
  .account-section__heading { align-items: flex-start; }
  .account-section__secure { display: none; }
  .orders-filter-toggle { display: inline-flex; gap: 6px; }
  .orders-filter-form { display: none; grid-template-columns: 1fr; }
  .orders-filter-section.is-open .orders-filter-form { display: grid; }
  .orders-filter-form .commerce-button { grid-column: auto; }
  .order-card__main { gap: 11px; grid-template-columns: 42px 1fr auto; padding: 15px; }
  .order-card__state { grid-column: 2; }
  .order-card__total { align-items: flex-end; grid-column: 3; grid-row: 1 / 3; }
  .order-card__detail { display: none; }
  .order-card__footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .order-card__footer .commerce-button { width: 100%; }
  .profile-overview { padding: 20px; }
  .profile-overview__identity { align-items: flex-start; }
  .profile-overview__identity p { align-items: flex-start; flex-direction: column; }
  .profile-overview__shortcuts,
  .profile-data-grid,
  .profile-branches-grid { grid-template-columns: 1fr; }
  .collaborator-list article { grid-template-columns: 38px 1fr auto; }
  .collaborator-list__branch { grid-column: 2; }
  .collaborator-list form { grid-column: 3; grid-row: 1 / 3; }
  .favorites-heading { align-items: flex-start; }
  .favorite-product-row { align-items: start; gap: 12px; grid-template-columns: 82px minmax(0, 1fr); padding: 14px; }
  .favorite-product-row__price { align-items: flex-start; grid-column: 2; }
  .favorite-product-row__actions { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .favorite-product-row__info .scale-badges-container { display: grid; grid-template-columns: 1fr; }
  .desktop-favorites-shortcut { display: none !important; }
  .catalog-page { padding: 14px 0 118px; }
  .catalog-page__container { padding-inline: 8px; }
  .catalog-page-header { align-items: stretch; flex-direction: column; gap: 17px; }
  .catalog-page-header h1 { font-size: 2.15rem; }
  .catalog-page-header p { font-size: .8rem; }
  .catalog-page-header__actions { display: grid; grid-template-columns: 1fr 1.35fr; }
  .catalog-result-count { justify-content: center; }
  .catalog-category-button { justify-content: center; padding-inline: 12px; }
  .catalog-context-strip { border-radius: 13px; margin-bottom: 13px; padding: 6px; }
  .catalog-context-strip__hint { display: none; }
  .catalog-results__heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 12px; }
  .catalog-pagination--top { justify-content: space-between; width: 100%; }
  .catalog-pagination--top button { flex: 1; }
  .commerce-interface .catalog-product-grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-interface .catalog-product-grid > .catalog-product-column .product-item { padding: 0; }
  .commerce-interface .catalog-product-grid .product-card-content { border-radius: 15px; max-width: none; width: 100%; }
  .commerce-interface .catalog-product-grid .product-card-content > img { height: clamp(190px, 54vw, 220px); padding: 10px; }
  .commerce-interface .catalog-product-grid .product-card-details { padding: 12px 11px 8px; }
  .commerce-interface .catalog-product-grid .product-card-details > h5 { font-size: 20px; }
  .commerce-interface .catalog-product-grid .quantity-select { padding: 6px 9px; }
  .commerce-interface .catalog-product-grid .quantity-selector-add { grid-template-columns: 38px minmax(48px, 1fr) 38px; }
  .commerce-interface .catalog-product-grid .product-buttons { padding: 0 9px 10px; }
  .commerce-interface .catalog-product-grid .product-buttons .add-to-cart-btn { min-height: 42px; }
  .catalog-pagination--bottom { min-height: 70px; }
}

@media (max-width: 420px) {
  .catalog-page-header__actions { grid-template-columns: 1fr; }
  .catalog-pagination button span { display: none; }
  .catalog-pagination button { min-width: 40px; padding-inline: 10px; }
}

@media (max-width: 374px) {
  .catalog-page__container { padding-inline: 10px; }
  .commerce-interface .catalog-product-grid { gap: 14px; grid-template-columns: minmax(0, 1fr); }
  .commerce-interface .catalog-product-grid .product-card-content > img { height: 230px; padding: 14px; }
  .commerce-interface .catalog-product-grid .product-card-details { padding: 14px 14px 9px; }
  .commerce-interface .catalog-product-grid .quantity-select { padding-inline: 12px; }
  .commerce-interface .catalog-product-grid .product-buttons { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-cart-page *,
  .commerce-account-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Datos esenciales que deben acompañar cualquier representación de producto. */
.product-identity {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 8px 0;
  color: #6f7d96;
  font-size: 0.78rem;
  line-height: 1.35;
}

.product-identity > div {
  display: flex;
  min-width: 0;
  gap: 4px;
}

.product-identity dt,
.product-identity dd {
  margin: 0;
  font: inherit;
}

.product-identity dt {
  flex: 0 0 auto;
  font-weight: 500;
}

.product-identity dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-identity--compact {
  margin-block: 5px;
  font-size: 0.69rem;
  line-height: 1.28;
}

.product-identity--light {
  color: rgba(255, 255, 255, 0.78);
}
