@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

.ros-pos-shop-front {
  --ros-pos-shop-ink: #1f2937;
  --ros-pos-shop-muted: #6b7280;
  --ros-pos-shop-line: #dfe3ea;
  --ros-pos-shop-green: #007a22;
  max-width: 1580px;
  margin: 42px auto 0;
  padding: 34px 38px;
  border: 1px solid #dfe7ef;
  border-radius: 22px;
  background: #fff;
  color: var(--ros-pos-shop-ink);
  font-family: "Bai Jamjuree", Arial, sans-serif;
  font-size: 15px;
  overflow: visible;
}

.ros-pos-shop-front * {
  box-sizing: border-box;
}

.ros-pos-shop-front input,
.ros-pos-shop-front textarea,
.ros-pos-shop-front select,
.ros-pos-shop-front button {
  font-family: inherit;
}


.ros-pos-shop-wizard {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.ros-pos-shop-wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ros-pos-shop-wizard-head.has-header-media {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 760px) auto;
}

.ros-pos-shop-wizard-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ros-pos-shop-wizard-title img {
  display: none;
  width: 0;
  height: 0;
  border-radius: 5px;
  object-fit: contain;
  background: #000;
}

.ros-pos-shop-wizard-title strong {
  display: block;
  color: #242a33;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.ros-pos-shop-wizard-title span {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 15px;
  line-height: 1.15;
}

.ros-pos-shop-wizard-header-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-height: 130px;
  overflow: hidden;
}

.ros-pos-shop-wizard-header-media img {
  display: block;
  width: auto;
  max-width: min(760px, 100%) !important;
  max-height: 124px;
  height: auto;
  object-fit: contain;
}

.ros-pos-shop-cart-pill {
  flex: 0 0 auto;
  justify-self: end;
  min-width: 185px;
  padding: 10px 14px;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  background: #f9fafb;
  color: var(--ros-pos-shop-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.ros-pos-shop-cart-pill strong {
  color: var(--ros-pos-shop-green);
}

.ros-pos-shop-wizard-tabs {
  display: flex;
  gap: 4px;
  margin: 24px 0 20px;
  border-bottom: 1px solid #e1e4ee;
}

.ros-pos-shop-wizard-tabs button {
  appearance: none;
  border: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: #555;
  cursor: pointer;
  padding: 9px 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.ros-pos-shop-wizard-tabs button img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: -4px;
}

.ros-pos-shop-wizard-tabs button.is-active {
  background: #f6f7fb;
  color: #000;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--ros-pos-shop-accent, #4e6fe7);
}

.ros-pos-shop-wizard-panel {
  display: none;
}

.ros-pos-shop-wizard-panel.is-active {
  display: block;
}

.ros-pos-shop-filterbar {
  display: grid;
  grid-template-columns: minmax(170px, .62fr) minmax(420px, 1.38fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
}

.ros-pos-shop-front-search {
  min-width: 0;
}

.ros-pos-shop-front-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cfd5df;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.ros-pos-shop-categories {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.ros-pos-shop-category-track {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 5px 2px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.ros-pos-shop-category-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.ros-pos-shop-category-chip,
.ros-pos-shop-category-arrow {
  appearance: none;
  border: 1px solid #d8e2ef;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.ros-pos-shop-category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

.ros-pos-shop-category-chip img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.ros-pos-shop-category-chip.is-active {
  border-color: var(--ros-pos-shop-accent, #2563eb);
  background: #eef4ff;
  color: #1d4ed8;
}

.ros-pos-shop-category-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.ros-pos-shop-front-search input:focus {
  border-color: var(--ros-pos-shop-accent, #2563eb);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.ros-pos-shop-product-step {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ros-pos-shop-catalog {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ros-pos-shop-selection {
  position: sticky;
  top: 18px;
  z-index: 20;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce8f5;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 18px 46px rgba(31, 41, 55, .08);
}

.ros-pos-shop-selection--checkout {
  position: sticky;
}

.ros-pos-shop-selection-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3edf7;
}

.ros-pos-shop-selection-head span {
  color: #9aa4b2;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ros-pos-shop-selection-head strong {
  color: var(--ros-pos-shop-green);
  font-size: 18px !important;
  line-height: 1 !important;
}

.ros-pos-shop-selection-lines {
  display: grid;
  gap: 9px;
  min-height: 88px;
}

.ros-pos-shop-selection-totals {
  display: grid;
  gap: 7px;
  padding: 12px 0 2px;
  border-top: 1px solid #e3edf7;
  color: #526071;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.ros-pos-shop-front.has-empty-cart .ros-pos-shop-selection-totals,
.ros-pos-shop-selection-totals [hidden] {
  display: none !important;
}

.ros-pos-shop-selection-totals div {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ros-pos-shop-selection-totals strong {
  color: #1f2937;
  font-weight: 900 !important;
  white-space: nowrap;
}

.ros-pos-shop-selection-totals .is-total {
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid #e3edf7;
  color: #111827;
  font-size: 14px !important;
}

.ros-pos-shop-selection-totals .is-total strong,
.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-discount-row] strong,
.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-coupon-row] strong {
  color: var(--ros-pos-shop-green);
}

.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-discount-row],
.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-coupon-row] {
  overflow: visible;
  isolation: isolate;
}

.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-discount],
.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-coupon] {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.ros-pos-shop-selection-totals .ros-pos-shop-selection-tax-note {
  align-items: flex-start;
  gap: 8px;
  margin-top: 2px;
  padding: 7px 8px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #f8fafc;
}

.ros-pos-shop-selection-totals .ros-pos-shop-selection-tax-note span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1;
}

.ros-pos-shop-selection-totals .ros-pos-shop-selection-tax-note strong {
  white-space: normal;
  color: #526071;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.ros-pos-discount-fountain {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -4px;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translateX(-50%);
}

.ros-pos-discount-fountain::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -8px;
  width: 20px;
  height: 12px;
  border-radius: 999px 999px 60% 60%;
  background: radial-gradient(ellipse at center, rgba(250, 204, 21, .7) 0 18%, rgba(34, 197, 94, .36) 19% 48%, rgba(34, 197, 94, 0) 70%);
  opacity: 0;
  animation: rosPosDiscountFountainFlash .85s ease-out forwards;
}

.ros-pos-discount-fountain i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--w, 4px);
  height: var(--h, 9px);
  border-radius: 2px;
  background: var(--c, #22c55e);
  opacity: 0;
  transform: translate(-50%, 0) rotate(var(--r0, 0deg)) scale(.25);
  animation: rosPosDiscountFountain var(--t, 1.25s) cubic-bezier(.12, .82, .24, 1) forwards;
  animation-delay: var(--d, 0ms);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}

.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-discount-row].is-discount-celebrating strong,
.ros-pos-shop-selection-totals [data-ros-pos-shop-summary-coupon-row].is-discount-celebrating strong {
  animation: rosPosDiscountPop 1.05s cubic-bezier(.2, 1.12, .35, 1);
}

@keyframes rosPosDiscountPop {
  0% { transform: scale(1); }
  18% { transform: scale(1.08); }
  38% { transform: scale(.99); }
  100% { transform: scale(1); }
}

@keyframes rosPosDiscountFountainFlash {
  0% { opacity: 0; transform: translateY(0) scale(.25); }
  18% { opacity: .95; }
  100% { opacity: 0; transform: translateY(-8px) scale(1.8); }
}

@keyframes rosPosDiscountFountain {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) rotate(var(--r0, 0deg)) scale(.25);
  }
  12% {
    opacity: 1;
  }
  54% {
    opacity: .95;
    transform: translate(calc(-50% + (var(--x, 0px) * .82)), var(--y, -42px)) rotate(var(--r, 90deg)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), calc(var(--y, -42px) + var(--fall, 18px))) rotate(var(--r2, 180deg)) scale(.9);
  }
}

.ros-pos-shop-selection-totals small {
  margin-top: 2px;
  color: #8a94a3;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.ros-pos-shop-selection-empty {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px dashed #d8e3f0;
  border-radius: 12px;
  color: #667085;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center;
}

.ros-pos-shop-selection-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 92px;
  padding: 9px 10px;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: #fff;
  animation: ros-pos-shop-line-in .18s ease both;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.ros-pos-shop-selection-line:hover {
  border-color: #b8cff7;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .11);
  transform: translateY(-1px);
}

@keyframes ros-pos-shop-line-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ros-pos-shop-selection-thumb {
  grid-row: span 2;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: visible !important;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background: #f8fafc;
}

.ros-pos-shop-selection-thumb img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  padding: 0 !important;
}

.ros-pos-shop-selection-thumb span {
  font-size: 18px;
}

.ros-pos-shop-selection-copy {
  min-width: 0;
}

.ros-pos-shop-selection-line strong {
  display: block;
  color: #263142;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.ros-pos-shop-selection-line small {
  display: block;
  margin-top: 3px;
  color: #7b8797;
  font-size: 11px !important;
}

.ros-pos-shop-tax-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.ros-pos-shop-selection-discount-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  padding: 2px 9px 3px;
  border: 2px solid #b7e9c7;
  border-radius: 999px;
  background: #effdf3;
  color: #15803d;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .02em;
  white-space: nowrap;
}

.ros-pos-shop-selection-price {
  justify-self: end;
  color: var(--ros-pos-shop-green);
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

.ros-pos-shop-selection-controls {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.ros-pos-shop-selection-controls button {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.ros-pos-shop-selection-controls button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px) scale(1.04);
}

.ros-pos-shop-selection-controls .is-minus {
  background: #64748b;
}

.ros-pos-shop-selection-controls .is-plus {
  background: #16a34a;
  box-shadow: 0 6px 14px rgba(22, 163, 74, .2);
}

.ros-pos-shop-selection-controls .is-remove {
  background: #ef4444;
  box-shadow: 0 6px 14px rgba(239, 68, 68, .18);
}

.ros-pos-shop-selection-controls > span:not(.ros-pos-shop-selection-discount-badge) {
  min-width: 20px;
  text-align: center;
  color: #111827;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ros-pos-shop-products {
  display: grid;
  grid-template-columns: repeat(var(--ros-pos-shop-cols, 5), minmax(172px, 1fr));
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 12px;
}

.ros-pos-shop-product {
  position: relative;
  min-height: 327px;
  overflow: visible;
  border: 1px solid #e2e4e7;
  border-radius: 14px;
  background: #fcfcfd;
  isolation: isolate;
  cursor: pointer;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.ros-pos-shop-product-inner {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #fcfcfd;
}

.ros-pos-shop-product[hidden] {
  display: none !important;
}

.ros-pos-shop-product:hover {
  border-color: #b8c2d4;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .12);
}

.ros-pos-shop-product.is-selected {
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .12);
}

.ros-pos-shop-product-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ros-pos-shop-product-title {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  top: 10px;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 5px !important;
  border-radius: 5px !important;
  border: 0;
  background: rgba(244, 244, 244, .97);
  color: #6b6767;
  box-shadow: inset 0 0 0 .6px rgba(107, 103, 103, .76);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  text-align: center;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-product-media {
  position: relative;
  height: 285px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  transition: inset 1.35s cubic-bezier(.22, 1, .36, 1), height 1.35s cubic-bezier(.22, 1, .36, 1), border-radius 1.35s cubic-bezier(.22, 1, .36, 1), background .8s ease;
}

.ros-pos-shop-product-img {
  height: 285px;
  display: grid;
  place-items: center;
  padding: 62px 8px 54px;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-product-img img {
  max-width: 100%;
  max-height: 246px;
  object-fit: contain;
  transform: scale(1.08);
}

.ros-pos-shop-whatsapp-btn {
  position: absolute;
  z-index: 7;
  left: 15px;
  top: 62px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 7px 16px rgba(15, 23, 42, .1);
  text-decoration: none !important;
  cursor: pointer;
  transform: translateZ(0);
  transition: opacity .24s ease, transform .14s ease, box-shadow .18s ease, background .15s ease;
}

.ros-pos-shop-whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(37, 211, 102, .22);
  border-radius: 12px;
  background: rgba(37, 211, 102, .08);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .045);
}

.ros-pos-shop-whatsapp-btn span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, .3);
}

.ros-pos-shop-whatsapp-btn img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
  filter: none;
}

.ros-pos-shop-whatsapp-btn:hover,
.ros-pos-shop-whatsapp-btn:focus-visible {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 9px 18px rgba(37, 211, 102, .2);
  transform: translateZ(0) scale(1.06);
  outline: none;
}

.ros-pos-shop-whatsapp-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.85);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
}

.ros-pos-shop-whatsapp-btn:hover::after,
.ros-pos-shop-whatsapp-btn:focus-visible::after {
  opacity: 1;
  animation: rosPosWhatsappHalo 1.1s ease-out infinite;
}

.ros-pos-shop-whatsapp-btn:active {
  transform: translateZ(0) scale(.94);
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-whatsapp-btn {
  opacity: 0;
  transform: translateY(-8px) scale(.88);
  pointer-events: none;
}

@keyframes rosPosWhatsappHalo {
  0% {
    opacity: 0;
    transform: scale(.85);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
  35% {
    opacity: .9;
    transform: scale(1.03);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ros-pos-shop-whatsapp-btn,
  .ros-pos-shop-whatsapp-btn:hover,
  .ros-pos-shop-whatsapp-btn:focus-visible {
    animation: none;
    transition: none;
    transform: none;
  }

  .ros-pos-shop-whatsapp-btn:hover::after,
  .ros-pos-shop-whatsapp-btn:focus-visible::after {
    animation: none;
    opacity: .16;
    transform: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
  }
}

.ros-pos-shop-product-description {
  position: absolute;
  z-index: 6;
  inset: 54px 12px 12px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 9px 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  opacity: 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  text-align: center;
  pointer-events: none;
  transition: none;
}

.ros-pos-shop-product.has-gallery .ros-pos-shop-product-description {
  inset: 54px 12px 12px;
}

.ros-pos-shop-product-description [data-gallery-preview] {
  position: absolute;
  inset: 6px 8px;
  width: calc(100% - 16px);
  height: calc(100% - 12px);
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(22px) scale(.76);
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-product.is-gallery-preview .ros-pos-shop-product-description [data-gallery-preview] {
  inset: 6px 8px;
  width: calc(100% - 16px);
  height: calc(100% - 12px);
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-title {
  opacity: 0;
  transform: translateY(-10px) scale(.96);
  pointer-events: none;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-img {
  opacity: 0 !important;
  transform: translateY(14px) scale(.92) !important;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-media {
  position: absolute;
  z-index: 7;
  inset: 0;
  height: auto;
  border-radius: inherit;
  background: #fff;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-description {
  inset: 4px;
  padding: 0;
  background: rgba(255, 255, 255, .99);
  opacity: 1;
  overflow: hidden;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), inset 1.45s cubic-bezier(.22, 1, .36, 1), padding 1.45s cubic-bezier(.22, 1, .36, 1), background .8s ease;
}

.ros-pos-shop-more-btn {
  position: absolute;
  z-index: 7;
  left: 18px;
  right: auto;
  bottom: 18px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(107, 103, 103, .55);
  border-radius: 999px;
  background: #fff;
  color: #6b6767;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  font-style: normal;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .09);
  transform: translateZ(0);
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1), border-color .18s ease, color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ros-pos-shop-more-btn::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: rgba(107, 103, 103, .1);
  opacity: .65;
  animation: ros-pos-shop-info-pulse 1.7s ease-out infinite;
  pointer-events: none;
}

.ros-pos-shop-more-btn::after {
  content: "Info";
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(31, 41, 55, .92);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-2px);
  transition: opacity .14s ease, transform .14s ease;
}

.ros-pos-shop-more-btn:hover,
.ros-pos-shop-more-btn:focus-visible {
  border-color: rgba(107, 103, 103, .72);
  background: #fff;
  color: #334155;
  box-shadow: 0 7px 15px rgba(15, 23, 42, .13);
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

.ros-pos-shop-more-btn:hover::after,
.ros-pos-shop-more-btn:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-more-btn {
  opacity: 0;
  transform: translateY(10px) scale(.86);
  pointer-events: none;
}

.ros-pos-shop-product.has-sale-price .ros-pos-shop-more-btn {
  left: 18px;
  right: auto;
  bottom: 18px;
}

.ros-pos-shop-stock-badge .ros-pos-shop-more-btn.is-desktop,
.ros-pos-shop-product.has-sale-price .ros-pos-shop-stock-badge .ros-pos-shop-more-btn.is-desktop {
  left: 0;
  right: auto;
  bottom: 27px;
  pointer-events: auto;
}

.ros-pos-shop-more-btn.is-mobile {
  display: none;
}

@keyframes ros-pos-shop-info-pulse {
  0% {
    transform: scale(.86);
    opacity: .52;
    box-shadow: 0 0 0 0 rgba(107, 103, 103, .18);
  }
  70% {
    transform: scale(1.26);
    opacity: 0;
    box-shadow: 0 0 0 8px rgba(107, 103, 103, 0);
  }
  100% {
    transform: scale(1.26);
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(107, 103, 103, 0);
  }
}

.ros-pos-shop-info-panel {
  position: absolute;
  z-index: 9;
  top: 62px;
  left: 10px;
  right: 10px;
  bottom: 58px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 9px 9px;
  border: 1px solid rgba(148, 163, 184, .46);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  color: #4b5563;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  cursor: default;
}

.ros-pos-shop-info-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .55);
  border-radius: 999px;
  background: rgba(248, 250, 252, .96);
  color: #64748b;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
}

.ros-pos-shop-info-close:hover,
.ros-pos-shop-info-close:focus-visible {
  border-color: rgba(239, 68, 68, .42);
  background: #fff;
  color: #dc2626;
  outline: none;
}

.ros-pos-shop-info-panel[hidden] {
  display: none !important;
}

.ros-pos-shop-info-page {
  display: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
}

.ros-pos-shop-info-page.is-active {
  display: block;
}

.ros-pos-shop-info-page > strong {
  display: block;
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1;
}

.ros-pos-shop-info-page p {
  margin: 0 0 7px;
  color: #4b5563;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: left;
}

.ros-pos-shop-info-page p strong,
.ros-pos-shop-info-page p b {
  display: inline;
  margin: 0;
  color: #1f2937;
  font-size: inherit !important;
  font-weight: 900 !important;
  line-height: inherit !important;
}

.ros-pos-shop-info-page p em,
.ros-pos-shop-info-page p i {
  font-style: italic;
}

.ros-pos-shop-info-page p:last-child {
  margin-bottom: 0;
}

.ros-pos-shop-info-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex: 0 0 auto;
}

.ros-pos-shop-info-actions button {
  min-height: 20px;
  padding: 3px 9px;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 7px;
  background: rgba(244, 244, 244, .97);
  color: #475569;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.ros-pos-shop-info-actions button:hover,
.ros-pos-shop-info-actions button:focus-visible {
  border-color: rgba(37, 99, 235, .4);
  background: #fff;
  color: #1d4ed8;
  outline: none;
}

.ros-pos-shop-product.is-info-open .ros-pos-shop-product-media {
  opacity: 0;
  pointer-events: none;
}

.ros-pos-shop-product.is-info-open .ros-pos-shop-whatsapp-btn,
.ros-pos-shop-product.is-info-open .ros-pos-shop-gallery-nav {
  opacity: 0;
  pointer-events: none;
}

.ros-pos-shop-gallery-nav {
  position: absolute;
  z-index: 8;
  top: 54%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .13);
  transition: opacity .14s ease, background .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}

.ros-pos-shop-gallery-nav.is-prev {
  left: 12px;
}

.ros-pos-shop-gallery-nav.is-next {
  right: 12px;
}

.ros-pos-shop-product.has-gallery .ros-pos-shop-gallery-nav {
  opacity: 0;
  pointer-events: auto;
}

.ros-pos-shop-product.has-gallery:hover .ros-pos-shop-gallery-nav,
.ros-pos-shop-product.has-gallery:focus-within .ros-pos-shop-gallery-nav,
.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-gallery-nav {
  opacity: 1;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-gallery-nav {
  top: 46%;
}

.ros-pos-shop-gallery-nav img {
  width: 18px;
  height: 18px;
  display: block;
  opacity: .92;
}

.ros-pos-shop-gallery-nav:hover,
.ros-pos-shop-gallery-nav:focus-visible {
  border-color: rgba(37, 99, 235, .42);
  background: rgba(239, 246, 255, .96);
  box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
  transform: translateY(-50%) scale(1.08);
}

.ros-pos-shop-product-sku {
  position: absolute;
  z-index: 3;
  top: 64px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 900;
}

.ros-pos-shop-product-price {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  min-width: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #e8fff0;
  color: var(--ros-pos-shop-green);
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1), background .8s ease, color .8s ease, border-color .8s ease, box-shadow .8s ease;
}

.ros-pos-shop-product-divider {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 48px;
  display: block;
  height: 1px;
  background: rgba(148, 163, 184, .22);
  pointer-events: none;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-product-meta-row {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: 51px;
  min-height: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding-top: 0;
  pointer-events: none;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-stock-badge {
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b6767;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.ros-pos-shop-stock-badge i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: block;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .36);
  animation: ros-pos-shop-stock-pulse 1.8s ease-out infinite;
}

.ros-pos-shop-stock-badge img {
  width: 11px;
  height: 11px;
  display: block;
  opacity: .86;
  object-fit: contain;
}

.ros-pos-shop-stock-badge.is-empty {
  color: #9b3a3a;
}

.ros-pos-shop-stock-badge.is-empty i {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .34);
  animation-name: ros-pos-shop-stock-pulse-empty;
}

@keyframes ros-pos-shop-stock-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .36);
  }
  72% {
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

@keyframes ros-pos-shop-stock-pulse-empty {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, .34);
  }
  72% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.ros-pos-shop-sale-badge {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  display: block;
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(37, 99, 235, .16));
}

.ros-pos-shop-product[data-tax-mode="differential"] .ros-pos-shop-product-price::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -3px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(37, 99, 235, .36);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .94);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2.5 4l7 4M9.5 4l-7 4' stroke='%232563eb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .1);
  pointer-events: none;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-price {
  opacity: 0;
  transform: translate(-12px, 10px) scale(.84) !important;
  pointer-events: none;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-divider {
  opacity: 0;
  transform: translateY(10px) scale(.92);
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-meta-row {
  opacity: 0;
  transform: translateY(10px) scale(.92);
}

.ros-pos-shop-product.is-selected .ros-pos-shop-product-price {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
  transform: scale(1.08) translateY(-1px) !important;
}

.ros-pos-shop-product[data-tax-mode="differential"].is-selected .ros-pos-shop-product-price::after {
  border-color: rgba(37, 99, 235, .46);
  background-color: rgba(255, 255, 255, .96);
}

.ros-pos-shop-product.has-combo-price .ros-pos-shop-product-price {
  min-width: 86px;
  max-width: 98px;
  flex-wrap: wrap;
  column-gap: 3px;
  row-gap: 0;
  padding: 3px 5px 4px;
  transform: scale(1.03) translateY(-1px) !important;
}

.ros-pos-shop-product.has-sale-price .ros-pos-shop-product-price {
  min-width: 88px;
  max-width: 100px;
  flex-wrap: wrap;
  column-gap: 3px;
  row-gap: 0;
  padding: 3px 5px 4px;
  border-color: rgba(37, 99, 235, .74);
  background:
    linear-gradient(135deg, rgba(129, 188, 255, .9) 0%, rgba(80, 141, 235, .88) 48%, rgba(102, 207, 198, .86) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
  transform: scale(1.03) translateY(-1px) !important;
}

.ros-pos-shop-product.has-active-combo-price .ros-pos-shop-product-price {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.ros-pos-combo-label {
  flex: 0 0 100%;
  color: rgba(255, 255, 255, .88);
  font-size: 6.5px !important;
  font-weight: 800 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

.ros-pos-old-price {
  color: rgba(255, 255, 255, .72);
  font-size: 8.5px !important;
  font-weight: 800 !important;
  line-height: .95 !important;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .72);
}

.ros-pos-new-price {
  color: #fff;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: .95 !important;
}

.ros-pos-tile-index {
  position: absolute;
  z-index: 12;
  top: -15px;
  right: -10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #2563eb;
  color: #fff;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}

.ros-pos-tile-index[hidden],
.ros-pos-tile-qty-controls[hidden] {
  display: none !important;
}

.ros-pos-tile-qty-controls {
  position: absolute;
  z-index: 9;
  right: 12px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  min-width: 58px;
  justify-content: center;
  padding: 2px 7px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 11px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #111827;
  font-size: 11px !important;
  font-weight: 700 !important;
  transition: opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.45s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-product.is-selected .ros-pos-tile-qty-controls {
  right: 12px;
  bottom: 12px;
  display: flex !important;
}

.ros-pos-tile-qty-controls button {
  position: relative;
  z-index: 6;
  appearance: none;
  border: 0;
  background: transparent;
  color: #1f2937;
  cursor: pointer;
  font-size: 13px !important;
  line-height: 1;
  padding: 0 4px;
}

.ros-pos-tile-qty-controls button:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.ros-pos-shop-product.is-sold-out {
  cursor: not-allowed;
  filter: grayscale(.12);
}

.ros-pos-shop-product.is-sold-out .ros-pos-shop-product-inner {
  opacity: .68;
}

.ros-pos-shop-product.is-sold-out .ros-pos-shop-product-link {
  pointer-events: none;
}


.ros-pos-shop-product.is-gallery-focus .ros-pos-tile-qty-controls {
  opacity: 0;
  transform: translate(10px, 10px) scale(.86);
  pointer-events: none;
}

.ros-pos-shop-product.is-gallery-focus .ros-pos-shop-product-img {
  opacity: 0;
  transform: translateY(26px) scale(.9);
}

.ros-pos-shop-front-pages {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin: 26px 0 0;
  color: var(--ros-pos-shop-muted);
  font-size: 15px;
  font-weight: 900;
}

.ros-pos-shop-front-pages button,
.ros-pos-shop-submit,
.ros-pos-shop-next-step,
.ros-pos-shop-edit-selection {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  cursor: pointer;
}

.ros-pos-shop-next-step,
.ros-pos-shop-edit-selection {
  width: 100%;
  min-height: 48px;
  border-color: var(--ros-pos-shop-accent, #2563eb);
  border-radius: 999px;
  background: var(--ros-pos-shop-accent, #2563eb);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
}

.ros-pos-shop-edit-selection {
  background: #fff;
  color: var(--ros-pos-shop-accent, #2563eb);
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
}

.ros-pos-shop-next-step:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.ros-pos-shop-front-pages button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ros-pos-shop-checkout-step {
  display: grid;
  grid-template-columns: minmax(340px, 405px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ros-pos-shop-checkout {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dce8f5;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 18px 46px rgba(31, 41, 55, .08);
}

.ros-pos-shop-checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4edf7;
}

.ros-pos-shop-checkout h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ros-pos-shop-checkout-head p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.ros-pos-shop-cart-lines {
  display: grid;
  gap: 8px;
}

.ros-pos-shop-cart-empty {
  color: var(--ros-pos-shop-muted);
  font-weight: 700;
}

.ros-pos-shop-cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #dae0ea;
  border-radius: 9px;
  background: #fff;
}

.ros-pos-shop-cart-line button {
  width: 30px;
  height: 30px;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.ros-pos-shop-checkout-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px 16px;
}

.ros-pos-shop-checkout-grid label {
  display: grid;
  grid-column: span 2;
  gap: 7px;
  color: #475467;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}

.ros-pos-shop-checkout-grid label.is-wide {
  grid-column: span 3;
}

.ros-pos-shop-checkout-grid label.is-address {
  grid-column: span 4;
}

.ros-pos-shop-checkout-grid label.is-half,
.ros-pos-shop-checkout-grid .is-half {
  grid-column: span 4;
}

.ros-pos-shop-checkout-grid label.is-full,
.ros-pos-shop-checkout-grid .is-full {
  grid-column: 1 / -1;
}

.ros-pos-shop-address-extra-wrap {
  display: grid;
  grid-column: span 4;
}

.ros-pos-shop-address-extra-wrap label {
  display: grid;
  gap: 7px;
  color: #475467;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}

.ros-pos-shop-checkout input,
.ros-pos-shop-checkout textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d6e0ec;
  border-radius: 10px;
  background: #fbfdff;
  padding: 0 14px;
  color: #1f2937;
  font: inherit;
  font-size: 14px !important;
  font-weight: 700 !important;
  outline: none;
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.ros-pos-shop-checkout input:focus,
.ros-pos-shop-checkout textarea:focus {
  border-color: var(--ros-pos-shop-accent, #2563eb);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.ros-pos-shop-checkout textarea {
  grid-column: 1 / -1;
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.ros-pos-shop-payment-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: #fff;
}

.ros-pos-shop-payment-methods legend {
  padding: 0 8px;
  color: #344054;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.ros-pos-shop-payment-methods label {
  position: relative;
  display: grid;
  grid-template-columns: 48px 38px minmax(0, 1fr);
  gap: 0 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.ros-pos-shop-payment-methods label:hover {
  border-color: #a9c4e4;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .075);
  transform: translateY(-1px);
}

.ros-pos-shop-payment-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.ros-pos-shop-payment-control {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d9e2ec;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .07);
  transition: background .18s ease, box-shadow .18s ease;
}

.ros-pos-shop-payment-control::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
  transition: transform .18s ease;
}

.ros-pos-shop-payment-methods input:checked + .ros-pos-shop-payment-control {
  background: linear-gradient(180deg, #34c759 0%, #1ea34a 100%);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .18), 0 0 0 4px rgba(52, 199, 89, .14);
}

.ros-pos-shop-payment-methods input:checked + .ros-pos-shop-payment-control::before {
  transform: translateX(20px);
}

.ros-pos-shop-payment-methods label:has(input:checked) {
  border-color: #73c995;
  background: linear-gradient(180deg, #fbfffc 0%, #f3fff6 100%);
}

.ros-pos-shop-payment-methods img,
.ros-pos-shop-payment-icon-placeholder {
  width: 38px;
  height: 38px;
}

.ros-pos-shop-payment-methods img {
  object-fit: contain;
}

.ros-pos-shop-payment-icon-placeholder {
  display: block;
}

.ros-pos-shop-payment-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ros-pos-shop-payment-copy strong {
  color: #1f2937;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.ros-pos-shop-payment-fee {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.ros-pos-shop-payment-copy small {
  color: #667085;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.ros-pos-shop-coupon-box {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 12px;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: #fff;
}

.ros-pos-shop-coupon-box legend {
  padding: 0 8px;
  color: #344054;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.ros-pos-shop-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.ros-pos-shop-coupon-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  background: #fbfdff;
  padding: 0 13px;
  color: #1f2937;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .03);
}

.ros-pos-shop-coupon-row input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.ros-pos-shop-coupon-row button {
  min-height: 42px;
  border: 1px solid #b8ccdf;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  color: #1d4ed8;
  padding: 0 14px;
  font-size: 11px !important;
  font-weight: 900 !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 41, 55, .06);
}

.ros-pos-shop-coupon-row button:hover {
  border-color: #7fb0e4;
  box-shadow: 0 12px 24px rgba(37, 99, 235, .12);
  transform: translateY(-1px);
}

.ros-pos-shop-coupon-row button:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}

.ros-pos-shop-coupon-message {
  min-height: 16px;
  color: #667085;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

.ros-pos-shop-coupon-message.is-success { color: #138a3d; }
.ros-pos-shop-coupon-message.is-error { color: #b42318; }
.ros-pos-shop-coupon-message.is-info { color: #475467; }

.ros-pos-shop-submit {
  position: relative;
  width: 100%;
  min-height: 48px;
  border-color: var(--ros-pos-shop-accent, #2563eb);
  background: var(--ros-pos-shop-accent, #2563eb);
  color: #fff;
}

.ros-pos-shop-submit.is-loading {
  cursor: wait;
  opacity: .92;
}

.ros-pos-shop-submit:disabled {
  cursor: not-allowed;
}

.ros-pos-shop-submit.is-loading::before {
  content: "";
  position: absolute;
  left: calc(50% - 86px);
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 999px;
  animation: ros-pos-shop-submit-spin .72s linear infinite;
}

@keyframes ros-pos-shop-submit-spin {
  to { transform: rotate(360deg); }
}

.ros-pos-shop-existing-customer {
  flex: 0 0 auto;
  align-self: flex-start;
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c7d7ea;
  border-radius: 6px;
  background: #f7fbff;
  color: #175286;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: none;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.ros-pos-shop-existing-customer:hover {
  border-color: var(--ros-pos-shop-accent, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .1);
  transform: translateY(-1px);
}

.ros-pos-shop-message {
  min-height: 20px;
  color: var(--ros-pos-shop-muted);
  font-weight: 800;
}

.ros-pos-shop-message.is-progress {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px 13px;
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 102, 241, .16), transparent 34%),
    linear-gradient(135deg, rgba(248, 250, 255, .98), rgba(240, 253, 250, .96));
  color: #172033;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.ros-pos-shop-message.is-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #635bff, #00d4ff, #19c37d, #635bff);
  background-size: 220% 100%;
}

.ros-pos-shop-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 950;
}

.ros-pos-shop-progress-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ros-pos-shop-progress-head span::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid rgba(99, 102, 241, .22);
  border-top-color: #635bff;
  border-radius: 999px;
  animation: ros-pos-shop-submit-spin .72s linear infinite;
}

.ros-pos-shop-progress-detail {
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.ros-pos-shop-progress-track {
  position: relative;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .22);
  overflow: hidden;
}

.ros-pos-shop-progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--ros-pos-shop-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #635bff, #00d4ff, #19c37d);
  box-shadow: 0 0 18px rgba(99, 91, 255, .26);
  transition: width .42s cubic-bezier(.22, 1, .36, 1);
}

.ros-pos-shop-message.is-success {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 163, 74, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 253, 244, .98), rgba(255, 255, 255, .94));
  color: #166534;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .08);
}

.ros-pos-shop-message.is-error {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(185, 28, 28, .16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(254, 242, 242, .98), rgba(255, 255, 255, .94));
  color: #991b1b;
  box-shadow: 0 10px 24px rgba(185, 28, 28, .08);
}

.ros-pos-shop-message.is-error span,
.ros-pos-shop-message.is-success span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

.ros-pos-shop-message.is-error span::before,
.ros-pos-shop-message.is-success span::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font: 950 13px/1 system-ui, -apple-system, Segoe UI, sans-serif;
}

.ros-pos-shop-message.is-success span::before {
  content: "✓";
  background: #16a34a;
}

.ros-pos-shop-captcha-field {
  align-self: end;
}

.ros-pos-shop-checkout-grid .ros-pos-shop-captcha-field > span {
  display: inline-block;
  margin-bottom: 7px;
  color: #48566f;
  font-size: 17px !important;
  font-weight: 950 !important;
}

.ros-pos-shop-captcha-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.ros-pos-shop-captcha-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ros-pos-shop-line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .15), rgba(16, 185, 129, .12));
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 22px !important;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .12em;
  user-select: none;
}

.ros-pos-shop-terms-field {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px;
  border: 1px solid var(--ros-pos-shop-line);
  border-radius: 12px;
  background: #f8fbff;
}

.ros-pos-shop-checkout-grid .ros-pos-shop-terms-field.is-half {
  align-self: end;
  min-height: 50px;
}

.ros-pos-shop-terms-switch {
  position: relative;
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 32px;
  margin: 0 !important;
  font-size: 14px;
  font-weight: 800;
  color: #172033;
}

.ros-pos-shop-terms-switch input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ros-pos-shop-terms-switch span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-left: 72px;
  color: #172033;
  line-height: 1.35;
}

.ros-pos-shop-terms-switch span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 56px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #dbe3ef;
  box-shadow: inset 0 0 0 1px #c7d2e4;
  transition: background .18s ease, box-shadow .18s ease;
}

.ros-pos-shop-terms-switch span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, .25);
  transition: transform .18s ease;
}

.ros-pos-shop-terms-switch input:checked + span::before {
  background: linear-gradient(180deg, #34c759, #22943f);
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, .24), 0 8px 20px rgba(34, 197, 94, .18);
}

.ros-pos-shop-terms-switch input:checked + span::after {
  transform: translate(24px, -50%);
}

.ros-pos-shop-terms-field button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid #9bb4d2;
  border-radius: 10px;
  background: #fff;
  color: #1f3b63;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.ros-pos-shop-terms-overlay,
.ros-pos-shop-result-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  background: rgba(15, 23, 42, .44);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
}

.ros-pos-shop-terms-modal,
#ros-pos-shop-result-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483601;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ros-pos-shop-terms-modal[hidden],
.ros-pos-shop-terms-overlay[hidden] {
  display: none !important;
}

.ros-pos-shop-terms-modal-inner,
.ros-pos-shop-result-card {
  position: relative;
  width: min(92vw, 660px);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .3);
}

.ros-pos-shop-terms-modal-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.ros-pos-shop-terms-modal header,
.ros-pos-shop-terms-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .76);
}

.ros-pos-shop-terms-modal footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(15, 23, 42, .08);
  border-bottom: 0;
}

.ros-pos-shop-terms-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.ros-pos-shop-terms-modal header button,
.ros-pos-shop-result-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #0f172a;
  cursor: pointer;
  font: 800 20px/1 system-ui, -apple-system, Segoe UI, sans-serif;
}

.ros-pos-shop-terms-content {
  overflow: auto;
  padding: 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.ros-pos-shop-terms-content h3,
.ros-pos-shop-terms-content h4 {
  margin: 18px 0 8px;
  color: #0f172a;
  line-height: 1.25;
}

.ros-pos-shop-terms-content h3 {
  font-size: 18px;
  font-weight: 900;
}

.ros-pos-shop-terms-content h4 {
  font-size: 15px;
  font-weight: 800;
}

.ros-pos-shop-terms-content > :first-child,
.ros-pos-shop-result-body > :first-child {
  margin-top: 0;
}

.ros-pos-shop-terms-content > :last-child,
.ros-pos-shop-result-body > :last-child {
  margin-bottom: 0;
}

.ros-pos-shop-terms-modal footer button,
.ros-pos-shop-result-ok {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--ros-pos-shop-accent, #2563eb), #1d4ed8);
  color: #fff;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
}

#ros-pos-shop-result-popup {
  z-index: 2147483646;
}

#ros-pos-shop-result-popup .ros-pos-shop-result-backdrop {
  z-index: 0;
}

.ros-pos-shop-result-card {
  z-index: 1;
  transform: translateY(10px) scale(.985);
  opacity: 0;
  transition: transform .16s ease, opacity .16s ease;
}

.ros-pos-shop-result-card.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.ros-pos-shop-result-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.ros-pos-shop-result-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px 16px;
  background: linear-gradient(90deg, rgba(34, 197, 94, .16), rgba(255, 255, 255, .02));
}

#ros-pos-shop-result-popup[data-kind="error"] .ros-pos-shop-result-head,
#ros-pos-shop-result-popup[data-kind="cancel"] .ros-pos-shop-result-head {
  background: linear-gradient(90deg, rgba(239, 68, 68, .14), rgba(255, 255, 255, .02));
}

#ros-pos-shop-result-popup[data-kind="timeout"] .ros-pos-shop-result-head {
  background: linear-gradient(90deg, rgba(245, 158, 11, .16), rgba(255, 255, 255, .02));
}

.ros-pos-shop-result-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  font: 900 24px/1 system-ui, -apple-system, Segoe UI, sans-serif;
  box-shadow: 0 12px 28px rgba(34, 197, 94, .3);
}

#ros-pos-shop-result-popup[data-kind="error"] .ros-pos-shop-result-icon,
#ros-pos-shop-result-popup[data-kind="cancel"] .ros-pos-shop-result-icon {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 28px rgba(239, 68, 68, .24);
}

#ros-pos-shop-result-popup[data-kind="timeout"] .ros-pos-shop-result-icon {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  box-shadow: 0 12px 28px rgba(245, 158, 11, .24);
}

.ros-pos-shop-result-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.ros-pos-shop-result-head p {
  margin: 7px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.ros-pos-shop-result-body {
  padding: 0 22px 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.ros-pos-shop-result-reason {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(185, 28, 28, .14);
  border-radius: 12px;
  background: #fff7f7;
  color: #7f1d1d;
  line-height: 1.45;
}

.ros-pos-shop-result-reason span {
  display: block;
  margin-bottom: 4px;
  color: #991b1b;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ros-pos-shop-result-reason strong {
  color: #172033;
  font-weight: 850;
}

.ros-pos-shop-result-countdown {
  padding: 0 22px 18px;
}

.ros-pos-shop-result-countdown span {
  color: #166534;
  font-size: 13px;
  font-weight: 800;
}

.ros-pos-shop-result-countdown b {
  display: block;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(34, 197, 94, .14);
}

.ros-pos-shop-result-countdown i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width .12s linear;
}

.ros-pos-shop-result-card footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(15, 23, 42, .06);
  background: rgba(255, 255, 255, .74);
}

.ros-pos-shop-customer-overlay {
  position: fixed;
  z-index: 2147483606;
  inset: 0;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(9px);
}

.ros-pos-shop-customer-overlay[hidden],
.ros-pos-shop-customer-modal[hidden] {
  display: none !important;
}

.ros-pos-shop-customer-modal {
  position: fixed;
  z-index: 2147483607;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ros-pos-shop-customer-modal-inner {
  width: min(560px, 100%);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid #d6dde8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
}

.ros-pos-shop-customer-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.ros-pos-shop-customer-modal h2 {
  margin: 0;
  color: #111827;
  font-size: 34px !important;
  line-height: 1.05 !important;
  letter-spacing: 0;
}

.ros-pos-shop-customer-modal-head span {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #bfe6c9;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ros-pos-shop-customer-modal p {
  margin: 0;
  color: #555;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.ros-pos-shop-customer-modal label {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.ros-pos-shop-customer-modal input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  padding: 0 18px;
  color: #111827;
  font-size: 18px !important;
  font-weight: 800 !important;
  outline: none;
}

.ros-pos-shop-customer-modal input:focus {
  border-color: var(--ros-pos-shop-accent, #2563eb);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.ros-pos-shop-customer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.ros-pos-shop-customer-actions button {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.ros-pos-shop-customer-search {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: #0f172a;
}

.ros-pos-shop-customer-close {
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #fff;
}

.ros-pos-shop-customer-result > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #475467;
  font-weight: 800 !important;
}

.ros-pos-shop-customer-result .is-success {
  background: #ecfdf3;
  color: #067647;
}

.ros-pos-shop-customer-result .is-error {
  background: #fef3f2;
  color: #b42318;
}

@media (max-width: 1500px) and (min-width: 981px) {
  .ros-pos-shop-front {
    padding-inline: 24px;
  }

  .ros-pos-shop-product-step {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
  }

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

  .ros-pos-shop-filterbar {
    grid-template-columns: minmax(150px, .5fr) minmax(390px, 1.5fr);
    gap: 10px;
  }

  .ros-pos-shop-front-search input {
    padding-inline: 12px;
    font-size: 14px;
  }

  .ros-pos-shop-category-chip {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  .ros-pos-shop-filterbar {
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-product-step,
  .ros-pos-shop-checkout-step {
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-selection {
    position: static;
  }

  .ros-pos-shop-checkout {
    position: static;
  }

  .ros-pos-shop-products {
    grid-template-columns: repeat(var(--ros-pos-shop-tablet-cols, 2), minmax(0, 1fr));
  }

  .ros-pos-shop-checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ros-pos-shop-checkout-grid label,
  .ros-pos-shop-checkout-grid label.is-address,
  .ros-pos-shop-checkout-grid label.is-half,
  .ros-pos-shop-checkout-grid .is-half,
  .ros-pos-shop-checkout-grid .is-full,
  .ros-pos-shop-address-extra-wrap {
    grid-column: span 1;
  }

  .ros-pos-shop-payment-methods {
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-terms-field {
    display: flex !important;
    flex-wrap: wrap;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .ros-pos-shop-wizard {
    padding: 16px;
  }

  .ros-pos-shop-wizard-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-wizard-head.has-header-media {
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-wizard-header-media {
    min-height: 42px;
    max-height: 76px;
    justify-content: flex-start;
  }

  .ros-pos-shop-wizard-header-media img {
    max-height: 72px;
  }

  .ros-pos-shop-wizard-title strong {
    font-size: 24px;
  }

  .ros-pos-shop-wizard-title span {
    font-size: 16px;
  }

  .ros-pos-shop-captcha-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .ros-pos-shop-terms-modal,
  #ros-pos-shop-result-popup {
    padding: 14px;
  }

  .ros-pos-shop-result-head {
    padding: 20px 18px 14px;
  }

  .ros-pos-shop-result-body,
  .ros-pos-shop-result-countdown {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ros-pos-shop-wizard-tabs {
    overflow-x: auto;
  }

  .ros-pos-shop-wizard-tabs button {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .ros-pos-shop-front-search {
    margin-bottom: 0;
  }

  .ros-pos-shop-front-search input {
    min-height: 58px;
    font-size: 20px;
  }

  .ros-pos-shop-categories {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .ros-pos-shop-category-chip {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .ros-pos-shop-product {
    min-height: 300px;
  }

  .ros-pos-tile-index {
    top: -12px;
    right: 8px;
  }

  .ros-pos-shop-product.is-gallery-focus .ros-pos-shop-gallery-nav {
    top: 45%;
  }

  .ros-pos-shop-product-media,
  .ros-pos-shop-product-img {
    height: 220px;
  }

  .ros-pos-shop-product-img img {
    max-height: 162px;
  }

  .ros-pos-shop-whatsapp-btn {
    top: 50px;
  }

  .ros-pos-shop-more-btn.is-desktop {
    display: none;
  }

  .ros-pos-shop-more-btn.is-mobile {
    display: inline-flex;
  }

  .ros-pos-shop-more-btn {
    left: 12px;
    right: auto;
    bottom: 52px;
  }

  .ros-pos-shop-product.has-sale-price .ros-pos-shop-more-btn {
    left: 12px;
    right: auto;
    bottom: 52px;
  }

  .ros-pos-shop-product.has-info-panel .ros-pos-shop-product-meta-row {
    padding-left: 30px;
  }

  .ros-pos-shop-info-panel {
    top: 54px;
    bottom: 56px;
  }

  .ros-pos-shop-products {
    grid-template-columns: repeat(var(--ros-pos-shop-mobile-cols, 1), minmax(0, 1fr));
  }

  .ros-pos-shop-checkout-grid,
  .ros-pos-shop-cart-line {
    grid-template-columns: 1fr;
  }

  .ros-pos-shop-checkout-grid label,
  .ros-pos-shop-checkout-grid label.is-address,
  .ros-pos-shop-checkout-grid label.is-half,
  .ros-pos-shop-checkout-grid .is-half,
  .ros-pos-shop-checkout-grid .is-full,
  .ros-pos-shop-address-extra-wrap {
    grid-column: 1 / -1;
  }

  .ros-pos-shop-payment-methods {
    grid-template-columns: 1fr;
  }
}

/* POS-Shop theme isolation: keep customer themes out of the shortcode surface. */
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated,
.ros-pos-shop-front.ros-pos-shop-isolated {
  --ros-pos-shop-shell-width: min(1580px, calc(100vw - 32px));
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  width: var(--ros-pos-shop-shell-width) !important;
  min-width: 0 !important;
  max-width: var(--ros-pos-shop-shell-width) !important;
  margin: 42px 0 0 calc(var(--ros-pos-shop-shell-width) / -2) !important;
  padding: 34px 38px !important;
  border: 1px solid #dfe7ef !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: var(--ros-pos-shop-ink) !important;
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  text-shadow: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  isolation: isolate !important;
  overflow: visible !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated *,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated *::before,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated *::after,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated *,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated *::before,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated *::after,
.ros-pos-shop-front.ros-pos-shop-isolated *,
.ros-pos-shop-front.ros-pos-shop-isolated *::before,
.ros-pos-shop-front.ros-pos-shop-isolated *::after {
  box-sizing: border-box !important;
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h1,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h2,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h3,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h4,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h5,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated h6,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated p,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated label,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated legend,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated span,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated strong,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated small,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated button,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated input,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated textarea,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated select,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h1,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h2,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h3,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h4,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h5,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated h6,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated p,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated label,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated legend,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated span,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated strong,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated small,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated button,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated input,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated textarea,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated select,
.ros-pos-shop-front.ros-pos-shop-isolated h1,
.ros-pos-shop-front.ros-pos-shop-isolated h2,
.ros-pos-shop-front.ros-pos-shop-isolated h3,
.ros-pos-shop-front.ros-pos-shop-isolated h4,
.ros-pos-shop-front.ros-pos-shop-isolated h5,
.ros-pos-shop-front.ros-pos-shop-isolated h6,
.ros-pos-shop-front.ros-pos-shop-isolated p,
.ros-pos-shop-front.ros-pos-shop-isolated label,
.ros-pos-shop-front.ros-pos-shop-isolated legend,
.ros-pos-shop-front.ros-pos-shop-isolated span,
.ros-pos-shop-front.ros-pos-shop-isolated strong,
.ros-pos-shop-front.ros-pos-shop-isolated small,
.ros-pos-shop-front.ros-pos-shop-isolated button,
.ros-pos-shop-front.ros-pos-shop-isolated input,
.ros-pos-shop-front.ros-pos-shop-isolated textarea,
.ros-pos-shop-front.ros-pos-shop-isolated select {
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated button,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated input,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated textarea,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated select,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated button,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated input,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated textarea,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated select,
.ros-pos-shop-front.ros-pos-shop-isolated button,
.ros-pos-shop-front.ros-pos-shop-isolated input,
.ros-pos-shop-front.ros-pos-shop-isolated textarea,
.ros-pos-shop-front.ros-pos-shop-isolated select {
  appearance: none !important;
  -webkit-appearance: none !important;
  border-style: solid !important;
  box-shadow: none;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated img,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated img,
.ros-pos-shop-front.ros-pos-shop-isolated img {
  display: inline-block;
  max-width: none;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  vertical-align: middle;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs button img,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs button img,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs button img {
  width: 19px !important;
  height: 19px !important;
  max-width: 19px !important;
  max-height: 19px !important;
  margin-right: 7px !important;
  object-fit: contain !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-chip img,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-chip img,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-chip img {
  width: 21px !important;
  height: 21px !important;
  max-width: 21px !important;
  max-height: 21px !important;
  object-fit: contain !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 94% !important;
  max-height: 150px !important;
  object-fit: contain !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-whatsapp-btn img,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-whatsapp-btn img,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-whatsapp-btn img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated a,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated a,
.ros-pos-shop-front.ros-pos-shop-isolated a {
  color: inherit;
  text-decoration: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-products,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-products,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-products {
  display: grid !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-step,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-step,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-filterbar,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-grid,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-step,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-step,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-filterbar,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-grid,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-step,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-step,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-filterbar,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-checkout-grid {
  display: grid !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-track,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection-head,
html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-customer-actions,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-track,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection-head,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-customer-actions,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-tabs,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-category-track,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection-head,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-customer-actions {
  display: flex !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel:not(.is-active),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel:not(.is-active),
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel:not(.is-active) {
  display: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel.is-active,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel.is-active,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-panel.is-active {
  display: block !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-search input),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-search input),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-search input) {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd5df !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #4b5563 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  outline: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button) {
  min-height: 0 !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-radius: 6px 6px 0 0 !important;
  background: transparent !important;
  color: #555 !important;
  cursor: pointer !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button.is-active),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button.is-active),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-wizard-tabs button.is-active) {
  background: #f6f7fb !important;
  color: #000 !important;
  font-weight: 800 !important;
  box-shadow: inset 0 -3px 0 var(--ros-pos-shop-accent, #4e6fe7) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip, .ros-pos-shop-category-arrow, .ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection, .ros-pos-shop-existing-customer, .ros-pos-shop-customer-search, .ros-pos-shop-customer-close),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip, .ros-pos-shop-category-arrow, .ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection, .ros-pos-shop-existing-customer, .ros-pos-shop-customer-search, .ros-pos-shop-customer-close),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip, .ros-pos-shop-category-arrow, .ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection, .ros-pos-shop-existing-customer, .ros-pos-shop-customer-search, .ros-pos-shop-customer-close) {
  cursor: pointer !important;
  text-decoration: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 42px !important;
  padding: 7px 10px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip.is-active),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip.is-active),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-chip.is-active) {
  border-color: var(--ros-pos-shop-accent, #2563eb) !important;
  background: #eef4ff !important;
  color: #1d4ed8 !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-arrow),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-arrow),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-category-arrow) {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-front-pages button, .ros-pos-shop-submit, .ros-pos-shop-next-step, .ros-pos-shop-edit-selection) {
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 1px solid #cfd5df !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit, .ros-pos-shop-next-step),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit, .ros-pos-shop-next-step),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit, .ros-pos-shop-next-step) {
  width: 100% !important;
  min-height: 48px !important;
  border-color: var(--ros-pos-shop-accent, #2563eb) !important;
  border-radius: 999px !important;
  background: var(--ros-pos-shop-accent, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-submit) {
  position: relative !important;
  border-radius: 8px !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection button.ros-pos-shop-next-step,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection button.ros-pos-shop-next-step,
.ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-selection button.ros-pos-shop-next-step {
  width: 100% !important;
  min-height: 48px !important;
  border-color: var(--ros-pos-shop-accent, #2563eb) !important;
  border-radius: 999px !important;
  background: var(--ros-pos-shop-accent, #2563eb) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated form.ros-pos-shop-checkout button.ros-pos-shop-submit,
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated form.ros-pos-shop-checkout button.ros-pos-shop-submit,
.ros-pos-shop-front.ros-pos-shop-isolated form.ros-pos-shop-checkout button.ros-pos-shop-submit {
  width: 100% !important;
  min-height: 48px !important;
  border-color: var(--ros-pos-shop-accent, #2563eb) !important;
  border-radius: 8px !important;
  background: var(--ros-pos-shop-accent, #2563eb) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2) !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-edit-selection),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-edit-selection),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-edit-selection) {
  width: 100% !important;
  min-height: 48px !important;
  border-color: var(--ros-pos-shop-accent, #2563eb) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--ros-pos-shop-accent, #2563eb) !important;
  box-shadow: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-existing-customer),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-existing-customer),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-existing-customer) {
  width: auto !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #c7d7ea !important;
  border-radius: 6px !important;
  background: #f7fbff !important;
  color: #175286 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-search),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-search),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-search) {
  min-height: 48px !important;
  padding: 0 28px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-close),
body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-close),
.ros-pos-shop-front.ros-pos-shop-isolated :is(.ros-pos-shop-customer-close) {
  min-height: 48px !important;
  padding: 0 28px !important;
  border: 1px solid #0f172a !important;
  border-radius: 14px !important;
  background: #0f172a !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

@media (max-width: 700px) {
  html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated,
  body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated,
  .ros-pos-shop-front.ros-pos-shop-isolated {
    --ros-pos-shop-shell-width: min(100%, calc(100vw - 20px));
    margin-top: 18px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title strong,
  body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title strong,
  .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title strong {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title span,
  body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title span,
  .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-wizard-title span {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-front-search input,
  body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-front-search input,
  .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-front-search input {
    min-height: 58px !important;
    font-size: 20px !important;
  }

  html.ros-has-pos-shop body .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img,
  body.ros-pos-shop-active .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img,
  .ros-pos-shop-front.ros-pos-shop-isolated .ros-pos-shop-product-img img {
    max-height: 162px !important;
  }
}
