﻿/* ── POS Showcase ── */
.landing-pos-showcase {
  background: #f8fafc;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-pos-showcase__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  gap: 20px;
}

.landing-pos-showcase__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-pos-carousel {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 12px;
  align-items: center;
}

.landing-pos-carousel__viewport {
  border: 1px solid #eaecf0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
}

.landing-pos-carousel__img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  background: #f8fafc;
  display: block;
}

.landing-pos-carousel__caption {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eaecf0;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.landing-pos-carousel__nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}

.landing-pos-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.landing-pos-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d0d5dd;
  cursor: pointer;
}

.landing-pos-carousel__dot.active {
  width: 20px;
  background: #0d9488;
}

.landing-pos-story {
  width: 100%;
  max-width: 1120px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.14);
  overflow: hidden;
}

.landing-pos-story__top {
  min-height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eaecf0;
  background: #fff;
}

.landing-pos-story__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.landing-pos-story__brand img {
  width: 98px;
  height: auto;
}

.landing-pos-story__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.landing-pos-story__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #12b76a;
  box-shadow: 0 0 6px rgba(18, 183, 106, 0.5);
}

.landing-pos-story__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: 520px;
}

.landing-pos-story__products {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: #f9fafb;
}

.landing-pos-story__card {
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fff;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 8px;
}

.landing-pos-story__card-icon { font-size: 32px; line-height: 1; }
.landing-pos-story__card-name { font-size: 12px; font-weight: 700; color: #101828; }
.landing-pos-story__card-price { font-size: 13px; font-weight: 800; color: #0f766e; }

.landing-pos-story__cart {
  border-left: 1px solid #eaecf0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.landing-pos-story__cart-head,
.landing-pos-story__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #f2f4f7;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.landing-pos-story__cart-list {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-pos-story__line {
  border: 1px solid #eaecf0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #344054;
}

.landing-pos-story__line strong { color: #101828; }

.landing-pos-story__total strong {
  font-size: 22px;
  color: #101828;
  letter-spacing: -0.02em;
}

.landing-pos-story__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f2f4f7;
  background: #f9fafb;
}

.landing-pos-story__pay button {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.landing-pos-story__pay button.primary {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}

.landing-liveframe--pos {
  width: 100%;
  max-width: 1200px;
  height: 760px;
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.5),
    0 30px 60px -30px rgba(0,0,0,0.6);
  background: #0b0b0b;
}

/* ── Reveal Wrapper ── */
.fpos-wrap {
  perspective: 1600px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.fpos .ui-button {
  box-shadow: none;
  border-radius: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  min-height: 0;
}

.fpos {
  width: 100%;
  aspect-ratio: 16/10;
  background: #0f172a;
  border-radius: 12px;
  box-shadow: 
    0 50px 100px -20px rgba(0,0,0,0.5),
    0 30px 60px -30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  transform: translateY(60px) rotateX(10deg);
  will-change: transform, opacity;
}

.fpos.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.fpos--light {
  background: #f8fafc;
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.16),
    inset 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.fpos--light .fpos__monitor {
  border-color: #cbd5e1;
}

.fpos--light .fpos__monitor::after {
  background: #e2e8f0;
}

.fpos--light .fpos__brand {
  color: rgba(15, 23, 42, 0.45);
}

.fpos--return {
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.24),
    inset 0 0 0 2px rgba(180, 35, 24, 0.24);
}

/* ── POS Monitor Stand ── */
.fpos__monitor {
  position: absolute;
  inset: -12px;
  border: 12px solid #1e293b;
  border-radius: 20px;
  pointer-events: none;
  z-index: 50;
  box-shadow: 
    inset 2px 2px 4px rgba(255,255,255,0.05),
    inset -2px -2px 4px rgba(0,0,0,0.4);
}
.fpos__monitor::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 20%;
  right: 20%;
  height: 12px;
  background: #0f172a;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.fpos__brand {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  text-transform: uppercase;
}

.fpos-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Rotate Hint ── */
.landing-pos-rotate-hint {
  display: none; /* Only on mobile/tablet landscape usually */
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  align-items: center;
  gap: 8px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.5s;
}
.landing-pos-rotate-hint.visible { opacity: 1; }
.landing-pos-rotate-hint svg { width: 16px; height: 16px; }

/* ── Media Queries (POS) ── */
@media (max-width: 1024px) {
  .landing-pos-showcase { overflow: hidden; }
}

@media (max-width: 768px) {
  .landing-pos-showcase { padding: 80px 0; }
  .landing-liveframe--pos { height: 640px; }
  .fpos { aspect-ratio: auto; min-height: 480px; }
  .landing-pos-carousel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .landing-pos-carousel__img {
    height: 340px;
  }
  .landing-pos-carousel__nav {
    display: none;
  }
  .landing-pos-story__body { grid-template-columns: 1fr; }
  .landing-pos-story__cart { border-left: none; border-top: 1px solid #eaecf0; }
  .landing-pos-story__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .fpos__monitor { border-width: 8px; }
  .fpos__monitor::after { height: 8px; }
}

/* Landscape Fullscreen Mode for POS Demo */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .landing-pos-showcase {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    padding: 0;
    margin: 0;
  }
  .landing-pos-showcase__inner {
    height: 100%;
    max-width: none;
    padding: 0;
  }
  .fpos-wrap {
    width: 100%;
    height: 100%;
    max-width: none;
    perspective: none;
  }
  .fpos {
    transform: none !important;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
  }
  .fpos__monitor { border: none; }
  .fpos__monitor::after { display: none; }
  
  .landing-pos-rotate-hint { display: flex; }
}

/* ── POS V2 Class Compatibility (FullPOS.tsx) ── */
.fpos-topbar {
  min-height: 48px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  z-index: 5;
}

.fpos-topbar__left,
.fpos-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fpos-topbar__logo {
  width: 18px;
  height: 18px;
}

.fpos-topbar__sep,
.fpos-topbar__info,
.fpos-topbar__datetime {
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

.fpos-topbar__search {
  flex: 1;
  max-width: 420px;
  height: 34px;
  border: 1px solid #dbe4ef;
  border-radius: 9px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.fpos-topbar__search--active {
  border-color: #94a3b8;
  background: #ffffff;
}

.fpos-topbar__search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 12px;
  color: #334155;
}

.fpos-topbar__search-clear,
.fpos-topbar__btn {
  border: 1px solid #dbe4ef;
  background: #ffffff;
  color: #475569;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fpos-topbar__btn--amber { color: #b45309; border-color: #fcd34d; background: #fff7ed; }
.fpos-topbar__btn--green { color: #166534; border-color: #86efac; background: #f0fdf4; }
.fpos-topbar__btn--danger { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.fpos-topbar__btn--return-active { color: #ffffff; border-color: #0d9488; background: #0d9488; }
.fpos-topbar__divider { width: 1px; height: 20px; background: #dbe4ef; }
.fpos-topbar__status { width: 8px; height: 8px; border-radius: 999px; background: #16a34a; box-shadow: 0 0 6px rgba(22,163,74,0.55); }
.fpos-topbar__power-wrap { position: relative; }

.fpos-shutdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 180px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  z-index: 60;
}

.fpos-shutdown__item {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  text-align: left;
  font-size: 11px;
  padding: 7px 8px;
}

.fpos-shutdown__item--amber { color: #b45309; }
.fpos-shutdown__item--red { color: #b91c1c; }
.fpos-shutdown__ver { margin-top: 4px; font-size: 10px; color: #94a3b8; text-align: right; }

.fpos-return-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fed7aa;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
}

.fpos-return-banner__close {
  border: 0;
  background: transparent;
  color: currentColor;
}

.fpos-cats {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  overflow-x: auto;
}

.fpos-cats__collapse,
.fpos-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  white-space: nowrap;
}

.fpos-cat.active { color: #ffffff; }

.fpos-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #f8fafc;
}

.fpos-grid {
  flex: 1;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow: auto;
}

.fpos-product {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  grid-template-rows: 62% 38%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 0;
}

.fpos-product__media {
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fpos-product__unit {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 3px 7px;
  line-height: 1;
}

.fpos-product__img {
  font-size: 34px;
  text-align: center;
  line-height: 1;
}

.fpos-product__footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 7px 8px;
  border-top: 1px solid #eef2f7;
}

.fpos-product__name {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fpos-product__price {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.fpos-cart {
  width: 360px;
  max-width: 38%;
  border-left: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.fpos-cart__header,
.fpos-cart__actions,
.fpos-cart__footer {
  padding: 10px;
}

.fpos-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f7;
}

.fpos-cart__header-left { display: flex; gap: 6px; align-items: center; }
.fpos-cart__header-btn,
.fpos-cart__action,
.fpos-pay {
  border: 1px solid #dbe4ef;
  border-radius: 7px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fpos-cart__header-btn,
.fpos-cart__action {
  width: 36px;
  height: 36px;
  position: relative;
}

.fpos-cart__header-btn--amber { background: #fff7ed; border-color: #fed7aa; color: #b45309; }
.fpos-cart__header-btn--purple { background: #faf5ff; border-color: #d8b4fe; color: #7e22ce; }
.fpos-cart__header-btn--danger { background: #ef4444; border-color: #ef4444; color: #fff; }
.fpos-cart__header-btn.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: auto; }

.fpos-cart__header-state {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #ef4444;
  background: rgba(239, 68, 68, 0.12);
  color: #b42318;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.fpos-cart__header-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fpos-cart__items {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.fpos-cart__empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.fpos-cart__item {
  width: calc(100% - 16px);
  margin: 8px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f8fafc;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: center;
  text-align: left;
}

.fpos-cart__item.selected { background: #f0fdfa; border-color: #0d9488; }
.fpos-cart__item.is-return { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.fpos-cart__qty { font-size: 12px; color: #0f766e; font-weight: 800; }
.fpos-cart__name { font-size: 12px; color: #0f172a; font-weight: 600; }
.fpos-cart__price { font-size: 13px; color: #0f172a; font-weight: 800; }
.fpos-cart__count { font-size: 11px; color: #64748b; font-weight: 700; }

.fpos-cart__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  border-top: 1px solid #eef2f7;
}

.fpos-cart__action--danger { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }

.fpos-cart__footer {
  border-top: 1px solid #eef2f7;
  background: #f8fafc;
}

.fpos-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.fpos-cart__total-label { font-size: 11px; font-weight: 700; color: #64748b; }
.fpos-cart__total-amount { font-size: 21px; font-weight: 800; color: #0f172a; }

.fpos-cart__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fpos-pay {
  min-height: 36px;
  font-size: 12px;
  font-weight: 700;
}

.fpos-pay--cash { background: #f0fdf4; border-color: #86efac; color: #166534; }
.fpos-pay--card { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }

@media (max-width: 980px) {
  .fpos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fpos-cart { width: 290px; }
}

@media (max-width: 760px) {
  .fpos-topbar__info,
  .fpos-topbar__sep,
  .fpos-topbar__datetime {
    display: none;
  }
  .fpos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fpos-cart { width: 245px; }
}

/* ── Untitled Redesign Overrides (POS Showcase) ── */
.landing-pos-showcase {
  background: linear-gradient(180deg, #fcfcfd 0%, #f9fafb 100%);
}

.landing-liveframe--pos {
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.16);
  border: 1px solid #e4e7ec;
  background: #101828;
}

.fpos {
  background: #111827;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(16, 24, 40, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.fpos-topbar,
.fpos-cats,
.fpos-cart,
.fpos-product,
.fpos-topbar__search,
.fpos-shutdown,
.fpos-cart__header,
.fpos-cart__footer,
.fpos-cart__action,
.fpos-cart__header-btn,
.fpos-pay,
.fpos-cat,
.fpos-cats__collapse {
  border-color: #eaecf0;
}

.fpos-topbar,
.fpos-cats,
.fpos-cart,
.fpos-product,
.fpos-cart__header,
.fpos-cart__footer,
.fpos-shutdown {
  background: #ffffff;
}

.fpos-topbar__btn--return-active {
  background: #0d9488;
  border-color: #0d9488;
}

.fpos-product__price,
.fpos-cart__price,
.fpos-cart__total-amount {
  color: #0f766e;
}

.fpos-cat.active {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
}

.fpos-cart__item.selected {
  background: #f0fdfa;
}

.fpos-pay--card {
  background: #f4ebff;
  border-color: #99f6e4;
  color: #0f766e;
}

/* ── Untitled Redesign Overrides (FullPOS Dialogs + Lockscreen) ── */
.fpos-overlay--dark {
  background: rgba(15, 23, 42, 0.72);
}

.fpos-topbar__btn--amber {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}

.fpos-topbar__btn--green {
  color: #175cd3;
  border-color: #b2ddff;
  background: #f0f9ff;
}

.fpos-topbar__btn--danger {
  color: #b42318;
  border-color: #fecdca;
  background: #fef3f2;
}

.fpos-cart__header-btn--amber,
.fpos-cart__header-btn--purple {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}

.fpos-pay--cash {
  background: #f4f3ff;
  border-color: #d9d6fe;
  color: #5925dc;
}

.fpos-topbar__btn,
.fpos-topbar__search-clear,
.fpos-cats__collapse,
.fpos-cat,
.fpos-product,
.fpos-cart__header-btn,
.fpos-cart__action,
.fpos-pay,
.fpos-lock__key,
.fpos-lock__logout,
.fpos-modal__close,
.fpos-cash__note,
.fpos-cash__coin,
.fpos-cash__key,
.fpos-cash__clear,
.fpos-cash__btn,
.fpos-card__cancel,
.fpos-disc__tog,
.fpos-disc__preset,
.fpos-disc__btn,
.fpos-recent__print,
.fpos-scale__preset,
.fpos-scale__btn,
.fpos-receipt__btn,
.fpos-parked__btn,
.fpos-parked__close,
.fpos-return-banner__close,
.fpos-shutdown__item {
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.fpos-topbar__btn:hover,
.fpos-cats__collapse:hover,
.fpos-cat:hover,
.fpos-product:hover,
.fpos-cart__header-btn:hover,
.fpos-cart__action:hover,
.fpos-pay:hover,
.fpos-modal__close:hover,
.fpos-cash__note:hover,
.fpos-cash__coin:hover,
.fpos-cash__key:hover,
.fpos-cash__clear:hover,
.fpos-cash__btn:hover,
.fpos-card__cancel:hover,
.fpos-disc__tog:hover,
.fpos-disc__preset:hover,
.fpos-disc__btn:hover,
.fpos-recent__print:hover,
.fpos-scale__preset:hover,
.fpos-scale__btn:hover,
.fpos-receipt__btn:hover,
.fpos-parked__btn:hover,
.fpos-parked__close:hover,
.fpos-lock__key:hover,
.fpos-lock__logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.1);
}

.fpos-topbar__btn:focus-visible,
.fpos-topbar__search-input:focus-visible,
.fpos-cats__collapse:focus-visible,
.fpos-cat:focus-visible,
.fpos-product:focus-visible,
.fpos-cart__header-btn:focus-visible,
.fpos-cart__action:focus-visible,
.fpos-pay:focus-visible,
.fpos-lock__key:focus-visible,
.fpos-lock__logout:focus-visible,
.fpos-modal__close:focus-visible,
.fpos-cash__note:focus-visible,
.fpos-cash__coin:focus-visible,
.fpos-cash__key:focus-visible,
.fpos-cash__clear:focus-visible,
.fpos-cash__btn:focus-visible,
.fpos-card__cancel:focus-visible,
.fpos-disc__tog:focus-visible,
.fpos-disc__preset:focus-visible,
.fpos-disc__btn:focus-visible,
.fpos-disc__input:focus-visible,
.fpos-recent__print:focus-visible,
.fpos-scale__preset:focus-visible,
.fpos-scale__btn:focus-visible,
.fpos-receipt__btn:focus-visible,
.fpos-parked__btn:focus-visible,
.fpos-parked__close:focus-visible,
.fpos-return-banner__close:focus-visible,
.fpos-shutdown__item:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

.fpos-product:active,
.fpos-pay:active,
.fpos-cash__btn:active,
.fpos-disc__btn:active,
.fpos-scale__btn:active,
.fpos-receipt__btn:active,
.fpos-recent__print:active,
.fpos-parked__btn:active {
  transform: translateY(0);
}

.fpos-grid__empty {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  color: #667085;
  background: #fcfcfd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.fpos-lock {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101828 0%, #1d2939 100%);
  color: #f2f4f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 40;
  padding: 28px;
}

.fpos-lock__circle {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #99f6e4;
}

.fpos-lock__user {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.fpos-lock__sub {
  font-size: 14px;
  color: #d0d5dd;
  margin-bottom: 2px;
}

.fpos-lock__error {
  font-size: 13px;
  color: #fda29b;
  border: 1px solid rgba(240, 68, 56, 0.45);
  background: rgba(240, 68, 56, 0.14);
  border-radius: 10px;
  padding: 6px 12px;
}

.fpos-lock__dots {
  display: flex;
  gap: 12px;
  margin: 10px 0 14px;
}

.fpos-lock__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.fpos-lock__dot.filled {
  background: #2dd4bf;
  border-color: #2dd4bf;
}

.fpos-lock__dot.error {
  border-color: #f97066;
}

.fpos-lock__numpad {
  width: 100%;
  max-width: 312px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fpos-lock__key {
  min-height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fpos-lock__key--fn {
  font-size: 13px;
  color: #d0d5dd;
}

.fpos-lock__logout {
  margin-top: 18px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #d0d5dd;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.fpos-cash,
.fpos-card,
.fpos-disc,
.fpos-recent,
.fpos-receipt,
.fpos-scale,
.fpos-parked {
  width: min(94%, 640px);
  border-radius: 18px;
  border: 1px solid #eaecf0;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.2);
  overflow: hidden;
}

.fpos-cash,
.fpos-disc,
.fpos-scale,
.fpos-parked {
  width: min(94%, 560px);
}

.fpos-card {
  width: min(90%, 420px);
}

.fpos-cash__header,
.fpos-disc__header,
.fpos-recent__header,
.fpos-scale__header,
.fpos-parked__header,
.fpos-card__header {
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
}

.fpos-cash__header-left,
.fpos-disc__header,
.fpos-scale__header,
.fpos-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fpos-cash__title {
  color: #101828;
  font-size: 15px;
  font-weight: 700;
}

.fpos-cash__icon,
.fpos-disc__icon,
.fpos-scale__icon,
.fpos-parked__icon,
.fpos-card__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fpos-modal__close {
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #f9fafb;
  color: #667085;
}

.fpos-cash__amounts,
.fpos-cash__body,
.fpos-disc__body,
.fpos-card__body,
.fpos-scale__body,
.fpos-recent__list,
.fpos-parked__list,
.fpos-receipt__success,
.fpos-receipt__ask,
.fpos-receipt__btns {
  padding: 14px 18px;
}

.fpos-cash__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475467;
  padding: 4px 0;
}

.fpos-cash__row--change {
  margin-top: 8px;
  border-top: 1px solid #eaecf0;
  padding-top: 10px;
}

.fpos-cash__val {
  color: #101828;
  font-weight: 700;
}

.fpos-cash__val--accent {
  color: #0f766e;
}

.fpos-cash__val--green {
  color: #067647;
}

.fpos-cash__body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.fpos-cash__left,
.fpos-cash__right {
  display: grid;
  gap: 10px;
  align-content: start;
}

.fpos-cash__label {
  font-size: 12px;
  color: #667085;
  font-weight: 600;
  margin-bottom: 8px;
}

.fpos-cash__notes,
.fpos-cash__coins,
.fpos-cash__numpad,
.fpos-disc__presets,
.fpos-scale__presets {
  display: grid;
  gap: 8px;
}

.fpos-cash__notes,
.fpos-cash__coins,
.fpos-scale__presets {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.fpos-cash__note,
.fpos-cash__coin,
.fpos-cash__key,
.fpos-disc__preset,
.fpos-scale__preset,
.fpos-cash__clear,
.fpos-card__cancel,
.fpos-disc__tog,
.fpos-disc__btn,
.fpos-recent__print,
.fpos-scale__btn,
.fpos-receipt__btn,
.fpos-parked__btn,
.fpos-parked__close {
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #344054;
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fpos-cash__note-val {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.fpos-cash__key {
  min-height: 44px;
  font-size: 18px;
  font-weight: 600;
}

.fpos-cash__key--back,
.fpos-cash__clear,
.fpos-card__cancel,
.fpos-scale__btn--close,
.fpos-disc__btn--cancel,
.fpos-receipt__btn--no,
.fpos-parked__btn,
.fpos-parked__close {
  background: #f9fafb;
}

.fpos-cash__btn,
.fpos-disc__btn--apply,
.fpos-scale__btn--add,
.fpos-receipt__btn--yes,
.fpos-recent__print,
.fpos-parked__btn--load {
  border-color: #0d9488;
  background: #0d9488;
  color: #ffffff;
}

.fpos-cash__btn--done {
  border-color: #0d9488;
  background: #0d9488;
  color: #ffffff;
}

.fpos-cash__btn--cancel,
.fpos-cash__btn--exact {
  border-color: #d0d5dd;
  background: #ffffff;
  color: #344054;
}

.fpos-cash__btn.disabled,
.fpos-disc__btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.fpos-cash__footer,
.fpos-disc__footer,
.fpos-scale__footer,
.fpos-receipt__btns,
.fpos-parked__footer {
  display: grid;
  gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid #eaecf0;
}

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

.fpos-disc__footer,
.fpos-scale__footer,
.fpos-receipt__btns,
.fpos-parked__footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fpos-parked__list {
  max-height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fpos-parked__row {
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fcfcfd;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fpos-parked__left,
.fpos-parked__right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fpos-parked__right {
  align-items: flex-end;
}

.fpos-parked__name {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
}

.fpos-parked__meta {
  color: #667085;
  font-size: 12px;
}

.fpos-parked__total {
  color: #101828;
  font-size: 16px;
  font-weight: 800;
}

.fpos-parked__actions {
  display: flex;
  gap: 8px;
}

.fpos-parked__close {
  width: 100%;
}

.fpos-card__amount {
  font-size: 36px;
  font-weight: 800;
  color: #101828;
  text-align: center;
  margin-bottom: 12px;
}

.fpos-card__circle {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  color: #0d9488;
}

.fpos-card__circle--blue {
  border-color: #b2ddff;
  background: #f0f9ff;
  color: #175cd3;
}

.fpos-card__circle--green {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.fpos-card__status,
.fpos-card__sub {
  text-align: center;
  color: #475467;
  font-size: 13px;
  font-weight: 600;
}

.fpos-card__bar {
  height: 8px;
  border-radius: 999px;
  background: #f2f4f7;
  overflow: hidden;
  margin: 12px 0;
}

.fpos-card__bar-fill {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf 0%, #0d9488 100%);
}

.fpos-disc__toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.fpos-disc__tog.active,
.fpos-disc__preset.active {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0f766e;
}

.fpos-disc__input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #101828;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.fpos-disc__label {
  font-size: 12px;
  color: #667085;
  font-weight: 600;
  margin-bottom: 8px;
}

.fpos-disc__presets {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fpos-recent__list {
  max-height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fpos-recent__row {
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fcfcfd;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fpos-recent__left,
.fpos-recent__right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fpos-recent__id {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
}

.fpos-recent__date,
.fpos-recent__meta {
  color: #667085;
  font-size: 12px;
}

.fpos-recent__total {
  color: #101828;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
}

.fpos-receipt__success {
  text-align: center;
}

.fpos-receipt__check {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fpos-receipt__heading {
  color: #101828;
  font-size: 20px;
  font-weight: 800;
}

.fpos-receipt__info,
.fpos-receipt__clabel {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.fpos-receipt__change {
  color: #067647;
  font-size: 24px;
  font-weight: 900;
}

.fpos-receipt__ask {
  border-top: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #101828;
  font-weight: 700;
}

.fpos-scale__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  min-height: 34px;
  padding: 0 12px;
}

.fpos-scale__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #12b76a;
}

.fpos-scale__wlabel {
  margin-top: 12px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.fpos-scale__weight {
  color: #067647;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.fpos-scale__calc {
  margin-top: 12px;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  color: #475467;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.fpos-scale__calc strong {
  color: #0f766e;
  margin-left: 6px;
}

@media (max-width: 760px) {
  .fpos-cash__body {
    grid-template-columns: 1fr;
  }

  .fpos-cash__notes,
  .fpos-cash__coins,
  .fpos-scale__presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fpos-disc__presets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fpos-cash__footer {
    grid-template-columns: 1fr;
  }
}

/* ── FullPOS Typography + Spacing Normalization ── */
.fpos {
  --fpos-font-xs: 11px;
  --fpos-font-sm: 12px;
  --fpos-font-md: 13px;
  --fpos-font-lg: 14px;
  --fpos-font-xl: 16px;
  --fpos-space-1: 6px;
  --fpos-space-2: 8px;
  --fpos-space-3: 10px;
  --fpos-space-4: 12px;
  --fpos-space-5: 14px;
  --fpos-radius-sm: 10px;
  --fpos-radius-md: 12px;
  --fpos-radius-lg: 14px;
}

.fpos-topbar {
  min-height: 50px;
  padding: var(--fpos-space-3) var(--fpos-space-5);
}

.fpos-topbar__info,
.fpos-topbar__datetime,
.fpos-topbar__sep {
  font-size: var(--fpos-font-sm);
}

.fpos-topbar__search {
  height: 36px;
  border-radius: var(--fpos-radius-sm);
  padding: 0 var(--fpos-space-3);
}

.fpos-cats {
  padding: var(--fpos-space-3) var(--fpos-space-4);
  gap: var(--fpos-space-2);
}

.fpos-cats__collapse,
.fpos-cat {
  border-radius: var(--fpos-radius-sm);
  padding: var(--fpos-space-2) var(--fpos-space-3);
  font-size: var(--fpos-font-sm);
}

.fpos-body,
.fpos-grid,
.fpos-cart {
  min-height: 0;
}

.fpos-grid {
  padding: var(--fpos-space-4);
  gap: var(--fpos-space-3);
}

.fpos-product {
  border-radius: var(--fpos-radius-md);
  padding: var(--fpos-space-3);
}

.fpos-product__name {
  font-size: var(--fpos-font-sm);
  line-height: 1.3;
}

.fpos-product__price {
  font-size: var(--fpos-font-md);
}

.fpos-cart {
  width: 328px;
}

.fpos-cart__header,
.fpos-cart__actions,
.fpos-cart__footer {
  padding: var(--fpos-space-3);
}

.fpos-cart__item {
  padding: var(--fpos-space-3);
  gap: var(--fpos-space-2);
}

.fpos-cart__name,
.fpos-cart__price,
.fpos-recent__id,
.fpos-parked__name {
  font-size: var(--fpos-font-md);
}

.fpos-cart__count,
.fpos-cart__qty,
.fpos-recent__date,
.fpos-recent__meta,
.fpos-parked__meta,
.fpos-disc__label,
.fpos-cash__label,
.fpos-scale__wlabel {
  font-size: var(--fpos-font-sm);
}

.fpos-cart__header-btn,
.fpos-cart__action,
.fpos-topbar__btn,
.fpos-pay,
.fpos-cash__note,
.fpos-cash__coin,
.fpos-cash__key,
.fpos-cash__clear,
.fpos-disc__tog,
.fpos-disc__preset,
.fpos-disc__btn,
.fpos-scale__preset,
.fpos-scale__btn,
.fpos-recent__print,
.fpos-receipt__btn,
.fpos-parked__btn,
.fpos-parked__close {
  border-radius: var(--fpos-radius-sm);
  font-size: var(--fpos-font-sm);
}

.fpos-pay {
  min-height: 38px;
  font-size: var(--fpos-font-sm);
}

.fpos-cash,
.fpos-disc,
.fpos-recent,
.fpos-scale,
.fpos-parked,
.fpos-card,
.fpos-receipt {
  border-radius: 20px;
}

.fpos-cash__header,
.fpos-disc__header,
.fpos-recent__header,
.fpos-scale__header,
.fpos-parked__header,
.fpos-card__header {
  min-height: 60px;
  padding: 0 20px;
}

.fpos-cash__amounts,
.fpos-cash__body,
.fpos-disc__body,
.fpos-card__body,
.fpos-scale__body,
.fpos-recent__list,
.fpos-parked__list,
.fpos-receipt__success,
.fpos-receipt__ask,
.fpos-receipt__btns,
.fpos-cash__footer,
.fpos-disc__footer,
.fpos-scale__footer,
.fpos-parked__footer {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 760px) {
  .fpos-topbar {
    padding: var(--fpos-space-2) var(--fpos-space-3);
  }

  .fpos-grid {
    padding: var(--fpos-space-3);
    gap: var(--fpos-space-2);
  }

  .fpos-cash,
  .fpos-disc,
  .fpos-recent,
  .fpos-scale,
  .fpos-parked,
  .fpos-card,
  .fpos-receipt {
    border-radius: 16px;
  }
}

/* ── Enterprise Polish (POS Story) ── */
.landing-pos-showcase {
  background: linear-gradient(180deg, #fcfcfd 0%, #f9fafb 100%);
}

.landing-pos-showcase__inner {
  gap: 24px;
}

.landing-pos-showcase__actions .ui-button {
  min-height: 46px;
  min-width: 220px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.landing-pos-story {
  border-color: #eaecf0;
  border-radius: 18px;
  box-shadow: 0 28px 56px rgba(16, 24, 40, 0.13);
}

.landing-pos-story__top {
  min-height: 62px;
  padding: 0 20px;
  background: #fcfcfd;
}

.landing-pos-story__brand {
  gap: 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.landing-pos-story__meta {
  gap: 12px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-pos-story__body {
  grid-template-columns: 1fr 360px;
  min-height: 560px;
}

.landing-pos-story__products {
  padding: 16px;
  gap: 12px;
  background: #f9fafb;
}

.landing-pos-story__card {
  border-color: #eaecf0;
  border-radius: 14px;
  min-height: 136px;
  gap: 7px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.landing-pos-story__card-icon {
  font-size: 34px;
}

.landing-pos-story__card-name {
  font-size: 12px;
  font-weight: 800;
  color: #101828;
}

.landing-pos-story__card-price {
  font-size: 14px;
  font-weight: 900;
  color: #0f766e;
}

.landing-pos-story__cart {
  border-left: 1px solid #eaecf0;
}

.landing-pos-story__cart-head,
.landing-pos-story__total {
  padding: 14px;
  font-size: 12px;
  font-weight: 800;
}

.landing-pos-story__line {
  border-color: #eaecf0;
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 600;
}

.landing-pos-story__total strong {
  font-size: 24px;
  font-weight: 900;
}

.landing-pos-story__pay {
  padding: 14px;
  gap: 10px;
}

.landing-pos-story__pay button {
  min-height: 42px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .landing-pos-showcase__actions .ui-button {
    min-width: 190px;
  }

  .landing-pos-story__body {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 768px) {
  .landing-pos-showcase__actions {
    width: 100%;
  }

  .landing-pos-showcase__actions .ui-button {
    width: 100%;
    min-width: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES (POS Showcase)
   ═══════════════════════════════════════════════════════════════ */

[data-theme="dark"] .landing-pos-showcase {
  background: var(--ui-color-bg-secondary);
}

[data-theme="dark"] .landing-pos-carousel__viewport {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-pos-carousel__caption {
  background: var(--ui-color-bg-elevated);
  border-top-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-secondary);
}

[data-theme="dark"] .landing-pos-carousel__nav {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-secondary);
}

[data-theme="dark"] .landing-pos-carousel__dot {
  background: var(--ui-color-border-focus);
}

[data-theme="dark"] .landing-pos-story {
  background: var(--ui-color-bg-secondary);
}

[data-theme="dark"] .landing-pos-story__panel,
[data-theme="dark"] .landing-pos-story__stat {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}
