/* ========================================
   CASH REGISTER
======================================== */

.pos-page {
  --pos-app-header-height: 52px;

  width: 100%;
  min-height: calc(100dvh - var(--pos-app-header-height));

  background: var(--color-background);
}


/* ========================================
   TOP AREA
======================================== */

.pos-top {
  width: 100%;

  padding:
    30px
    36px
    0;
}

.pos-header {
  width: 100%;
  max-width: 1440px;

  margin:
    0
    auto
    24px;
}

.pos-back-link {
  display: inline-flex;
  align-items: center;

  margin-bottom: 18px;

  color: var(--color-text-muted);

  font-size: 12px;
  font-weight: 650;

  text-decoration: none;

  transition:
    color var(--transition-fast);
}

.pos-back-link:hover {
  color: var(--color-text);
}

.pos-header-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;
}

.pos-eyebrow {
  display: block;

  margin-bottom: 6px;

  color: var(--color-text-muted);

  font-size: 10px;
  font-weight: 750;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pos-header h1 {
  margin: 0;

  color: var(--color-text);

  font-size: clamp(30px, 4vw, 46px);
  font-weight: 750;

  line-height: 1.03;

  letter-spacing: -0.045em;
}

.pos-header p {
  max-width: 680px;

  margin:
    10px
    0
    0;

  color: var(--color-text-muted);

  font-size: 13px;

  line-height: 1.5;
}

.pos-status {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  min-height: 34px;

  padding:
    0
    12px;

  flex-shrink: 0;

  background: var(--color-success-light);

  border-radius: var(--radius-pill);

  color: var(--color-success);

  font-size: 11px;
  font-weight: 750;
}

.pos-status-dot {
  width: 7px;
  height: 7px;

  background: var(--color-success);

  border-radius: 50%;
}


/* ========================================
   FEEDBACK
======================================== */

.pos-payment-success,
.pos-alert {
  width: 100%;
  max-width: 1440px;

  margin:
    0
    auto
    18px;
}

.pos-payment-success {
  display: flex;
  align-items: center;

  gap: 14px;

  padding:
    13px
    15px;

  background: var(--color-success-light);

  border:
    1px
    solid
    rgba(22, 130, 93, 0.14);

  border-radius: var(--radius-md);
}

.pos-payment-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;

  flex-shrink: 0;

  background: var(--color-success);

  border-radius: 50%;

  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

.pos-payment-success-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  gap: 2px;
}

.pos-payment-success-content strong {
  color: var(--color-success);

  font-size: 11px;
}

.pos-alert {
  display: flex;
  flex-direction: column;

  gap: 3px;

  padding:
    13px
    15px;

  background: var(--color-danger-light);

  border:
    1px
    solid
    var(--color-danger-border);

  border-radius: var(--radius-md);

  color: var(--color-danger);

  font-size: 11px;
}


/* ========================================
   MAIN LAYOUT
======================================== */

.pos-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    clamp(330px, 30vw, 400px);

  align-items: start;

  width: 100%;

  min-height: calc(
    100dvh -
    var(--pos-app-header-height)
  );
}

.pos-main {
  min-width: 0;

  padding:
    8px
    32px
    70px;
}


/* ========================================
   CATEGORY NAVIGATION
======================================== */

.pos-category-nav {
  position: sticky;

  top: 10px;

  max-width: 1080px;

  margin:
    0
    auto
    30px;

  padding:
    8px
    0;

  z-index: 30;
}

.pos-category-nav-inner {
  display: flex;
  align-items: center;

  gap: 16px;

  min-height: 58px;

  padding:
    9px
    10px
    9px
    16px;

  background:
    rgba(255, 255, 255, 0.96);

  border:
    1px
    solid
    var(--color-border);

  border-radius: var(--radius-lg);

  box-shadow:
    0 5px 20px rgba(16, 24, 40, 0.07);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pos-category-nav-label {
  flex-shrink: 0;

  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 750;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-category-nav-links {
  display: flex;
  align-items: center;

  gap: 7px;

  min-width: 0;

  overflow-x: auto;

  scrollbar-width: none;
}

.pos-category-nav-links::-webkit-scrollbar {
  display: none;
}

.pos-category-anchor {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  min-height: 38px;

  padding:
    0
    12px;

  flex-shrink: 0;

  background: var(--color-surface-secondary);

  border:
    1px
    solid
    transparent;

  border-radius: var(--radius-sm);

  color: var(--color-text);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.025em;

  text-decoration: none;

  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.pos-category-anchor:hover {
  background: #ffffff;

  border-color: var(--color-border);

  transform: translateY(-1px);
}

.pos-category-anchor-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 21px;
  height: 21px;

  padding:
    0
    6px;

  background: var(--color-primary);

  border-radius: var(--radius-pill);

  color: #ffffff;

  font-size: 9px;
}


/* ========================================
   CATEGORIES
======================================== */

.pos-categories {
  display: flex;
  flex-direction: column;

  gap: 44px;

  max-width: 1080px;

  margin: 0 auto;
}

.pos-products-section {
  scroll-margin-top: 88px;
}

.pos-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 17px;

  padding-bottom: 15px;

  border-bottom:
    1px
    solid
    var(--color-border);
}

.pos-section-heading h2 {
  margin: 0;

  color: var(--color-text);

  font-size: 23px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.035em;
}

.pos-section-heading p {
  margin:
    7px
    0
    0;

  color: var(--color-text-muted);

  font-size: 11px;
}

.pos-product-count {
  display: inline-flex;
  align-items: center;

  min-height: 30px;

  padding:
    0
    10px;

  flex-shrink: 0;

  background: var(--color-surface);

  border:
    1px
    solid
    var(--color-border);

  border-radius: var(--radius-pill);

  color: var(--color-text-muted);

  font-size: 10px;
  font-weight: 700;
}


/* ========================================
   PRODUCT GRID
======================================== */

.pos-products-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(180px, 1fr)
    );

  gap: 11px;
}

.pos-product-card {
  position: relative;

  min-width: 0;

  background: var(--color-surface);

  border:
    1px
    solid
    var(--color-border);

  border-radius: var(--radius-md);

  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.025);

  overflow: hidden;

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.pos-product-card:hover {
  border-color: #cfd4da;

  box-shadow:
    0 6px 18px rgba(16, 24, 40, 0.07);

  transform: translateY(-1px);
}

.pos-product-card.is-selected {
  border-color: var(--color-primary);

  box-shadow:
    0 0 0 1px var(--color-primary);
}

.pos-product-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  width: 100%;
  min-height: 150px;

  padding: 17px;

  background: transparent;

  border: 0;

  color: inherit;

  font: inherit;
  text-align: left;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  touch-action: manipulation;
}

.pos-product-quantity {
  position: absolute;

  top: 10px;
  right: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 25px;
  height: 25px;

  padding:
    0
    7px;

  background: var(--color-primary);

  border-radius: var(--radius-pill);

  color: #ffffff;

  font-size: 10px;
  font-weight: 800;

  opacity: 0;
  transform: scale(0.8);

  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.pos-product-quantity.is-visible {
  opacity: 1;

  transform: scale(1);
}

.pos-product-name {
  max-width: calc(100% - 24px);

  margin-bottom: 9px;

  color: var(--color-text);

  font-size: 14px;
  font-weight: 750;

  line-height: 1.3;
}

.pos-product-price {
  color: var(--color-text-muted);

  font-size: 12px;
  font-weight: 650;
}

.pos-product-add {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: auto;

  padding-top: 20px;

  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 750;

  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pos-product-add > span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  background: var(--color-surface-secondary);

  border-radius: var(--radius-xs);

  color: var(--color-text);

  font-size: 16px;

  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.pos-product-card:hover .pos-product-add > span,
.pos-product-card.is-selected .pos-product-add > span {
  background: var(--color-primary);

  color: #ffffff;
}

.pos-hidden-quantity {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  border: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
}


/* ========================================
   CART
======================================== */

.pos-cart {
  position: sticky;

  top: var(--pos-app-header-height);

  display: flex;
  flex-direction: column;

  min-width: 0;

  height: calc(
    100dvh -
    var(--pos-app-header-height)
  );

  background: var(--color-surface);

  border-left:
    1px
    solid
    var(--color-border);

  overflow: hidden;

  z-index: 35;
}

.pos-cart-mobile-heading {
  display: none;
}

.pos-cart-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 12px;

  flex-shrink: 0;

  padding:
    20px
    18px
    17px;

  border-bottom:
    1px
    solid
    var(--color-border);
}

.pos-cart-header h2 {
  margin: 0;

  font-size: 21px;
  font-weight: 800;

  letter-spacing: -0.035em;
}

.pos-cart-header-actions {
  display: flex;
  align-items: center;

  gap: 7px;
}

.pos-cart-count {
  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 650;

  white-space: nowrap;
}

.pos-clear-button {
  padding: 0;

  background: transparent;

  border: 0;

  color: var(--color-text-muted);

  font: inherit;
  font-size: 9px;
  font-weight: 750;

  cursor: pointer;
}

.pos-clear-button:hover {
  color: var(--color-danger);
}


/* ========================================
   EMPTY CART
======================================== */

.pos-cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 160px;

  padding: 24px;

  color: var(--color-text-muted);

  text-align: center;
}

.pos-cart-empty-icon {
  position: relative;

  width: 36px;
  height: 36px;

  margin-bottom: 13px;

  border:
    2px
    solid
    var(--color-border);

  border-radius: 50%;
}

.pos-cart-empty-icon::before,
.pos-cart-empty-icon::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 12px;
  height: 2px;

  background: var(--color-border);

  transform: translate(-50%, -50%);
}

.pos-cart-empty-icon::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);
}

.pos-cart-empty strong {
  margin-bottom: 5px;

  color: var(--color-text);

  font-size: 11px;
}

.pos-cart-empty p {
  margin: 0;

  font-size: 9px;
}


/* ========================================
   CART LINES
======================================== */

.pos-cart-lines {
  flex: 1;

  min-height: 0;

  padding:
    6px
    18px;

  overflow-y: auto;

  overscroll-behavior: contain;
}

.pos-cart-line {
  padding:
    14px
    0;

  border-bottom:
    1px
    solid
    var(--color-border);
}

.pos-cart-line.is-hidden,
.is-hidden {
  display: none !important;
}

.pos-cart-line-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 11px;
}

.pos-cart-product {
  display: flex;
  flex-direction: column;

  gap: 3px;

  min-width: 0;
}

.pos-cart-product strong {
  color: var(--color-text);

  font-size: 11px;

  line-height: 1.35;
}

.pos-cart-product span {
  color: var(--color-text-muted);

  font-size: 8px;

  line-height: 1.4;
}

.pos-cart-line-total {
  flex-shrink: 0;

  color: var(--color-text);

  font-size: 11px;

  white-space: nowrap;
}


/* ========================================
   QUANTITY
======================================== */

.pos-quantity-control {
  display: inline-flex;
  align-items: center;

  gap: 4px;

  padding: 3px;

  background: var(--color-surface-secondary);

  border-radius: var(--radius-xs);
}

.pos-quantity-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 31px;
  height: 31px;

  padding: 0;

  background: var(--color-surface);

  border:
    1px
    solid
    var(--color-border);

  border-radius: 6px;

  color: var(--color-text);

  font: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  touch-action: manipulation;
}

.pos-quantity-value {
  min-width: 28px;

  color: var(--color-text);

  font-size: 11px;
  font-weight: 800;

  text-align: center;
}


/* ========================================
   CHECKOUT
======================================== */

.pos-cart-footer {
  flex-shrink: 0;

  padding:
    17px
    18px
    calc(
      18px +
      env(safe-area-inset-bottom)
    );

  background: var(--color-surface);

  border-top:
    1px
    solid
    var(--color-border);
}

.pos-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 17px;
}

.pos-total span {
  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 650;
}

.pos-total strong {
  color: var(--color-text);

  font-size: 26px;
  font-weight: 800;

  letter-spacing: -0.04em;

  white-space: nowrap;
}

.pos-payment-title {
  margin-bottom: 8px;

  color: var(--color-text-muted);

  font-size: 8px;
  font-weight: 750;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.pos-payment-buttons {
  display: grid;

  grid-template-columns: 1fr;

  gap: 6px;
}

.pos-payment-button {
  display: flex;
  align-items: center;

  gap: 10px;

  width: 100%;
  min-height: 52px;

  padding:
    7px
    10px;

  background: var(--color-surface);

  border:
    1px
    solid
    var(--color-border);

  border-radius: var(--radius-sm);

  color: var(--color-text);

  font: inherit;

  text-align: left;

  cursor: pointer;

  touch-action: manipulation;

  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.pos-payment-button:not(:disabled):hover {
  background: var(--color-surface-secondary);

  border-color: #c8ced5;
}

.pos-payment-button:disabled {
  opacity: 0.4;

  cursor: not-allowed;
}

.pos-payment-card:not(:disabled) {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: #ffffff;
}

.pos-payment-card:not(:disabled):hover {
  background: var(--color-primary-hover);
}

.pos-payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  background: var(--color-surface-secondary);

  border-radius: var(--radius-xs);

  color: var(--color-text);

  font-size: 9px;
  font-weight: 850;
}

.pos-payment-card:not(:disabled) .pos-payment-icon {
  background:
    rgba(255, 255, 255, 0.12);

  color: #ffffff;
}

.pos-payment-button > span:last-child {
  display: flex;
  flex-direction: column;

  gap: 1px;
}

.pos-payment-button strong {
  font-size: 10px;
}

.pos-payment-button small {
  color: var(--color-text-muted);

  font-size: 8px;
}

.pos-payment-card:not(:disabled) small {
  color:
    rgba(255, 255, 255, 0.65);
}

.pos-payment-help {
  margin:
    9px
    0
    0;

  color: var(--color-text-muted);

  font-size: 8px;

  line-height: 1.4;
}


/* ========================================
   MOBILE ELEMENTS
======================================== */

.pos-mobile-cart-bar,
.pos-cart-backdrop {
  display: none;
}


/* ========================================
   TABLET
   700px -> 1180px
======================================== */

@media (max-width: 1180px) {
  .pos-page {
    --pos-app-header-height: 48px;
  }

  .pos-top {
    padding:
      24px
      20px
      0;
  }

  .pos-layout {
    grid-template-columns:
      minmax(0, 1fr)
      clamp(290px, 38vw, 350px);
  }

  .pos-main {
    padding:
      8px
      18px
      55px;
  }

  .pos-header {
    margin-bottom: 20px;
  }

  .pos-header h1 {
    font-size:
      clamp(
        28px,
        4vw,
        38px
      );
  }

  .pos-category-nav {
    margin-bottom: 26px;
  }

  .pos-category-nav-inner {
    gap: 10px;

    padding:
      8px
      9px;
  }

  .pos-category-nav-label {
    display: none;
  }

  .pos-category-anchor {
    min-height: 36px;

    padding:
      0
      10px;

    font-size: 9px;
  }

  .pos-categories {
    gap: 38px;
  }

  .pos-products-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 9px;
  }

  .pos-product-button {
    min-height: 138px;

    padding: 14px;
  }

  .pos-product-name {
    font-size: 12px;
  }

  .pos-product-price {
    font-size: 11px;
  }

  .pos-product-add {
    padding-top: 16px;

    font-size: 8px;
  }

  .pos-section-heading h2 {
    font-size: 21px;
  }

  .pos-cart-header {
    padding:
      18px
      15px
      15px;
  }

  .pos-cart-lines {
    padding:
      5px
      15px;
  }

  .pos-cart-footer {
    padding:
      15px
      15px
      calc(
        15px +
        env(safe-area-inset-bottom)
      );
  }

  .pos-total {
    margin-bottom: 14px;
  }

  .pos-total strong {
    font-size: 23px;
  }

  .pos-payment-button {
    min-height: 48px;
  }
}


/* ========================================
   SMALL TABLETS
   Still keep cart on the right
======================================== */

@media (min-width: 700px) and (max-width: 820px) {
  .pos-layout {
    grid-template-columns:
      minmax(0, 1fr)
      292px;
  }

  .pos-main {
    padding:
      8px
      14px
      50px;
  }

  .pos-products-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 8px;
  }

  .pos-product-button {
    min-height: 126px;

    padding: 12px;
  }

  .pos-product-name {
    font-size: 11px;
  }

  .pos-product-price {
    font-size: 10px;
  }

  .pos-section-heading {
    align-items: flex-start;

    gap: 10px;
  }

  .pos-section-heading p {
    display: none;
  }

  .pos-product-count {
    font-size: 8px;
  }

  .pos-cart-header {
    align-items: flex-start;
    flex-direction: column;

    gap: 8px;
  }

  .pos-cart-header-actions {
    width: 100%;

    justify-content: space-between;
  }

  .pos-cart-product strong {
    font-size: 10px;
  }

  .pos-payment-button small {
    display: none;
  }
}


/* ========================================
   MOBILE
   < 700px
======================================== */

@media (max-width: 699px) {
  .pos-page {
    --pos-app-header-height: 46px;
  }

  .pos-cart-open {
    overflow: hidden;
  }

  .pos-top {
    padding:
      20px
      14px
      0;
  }

  .pos-header-title {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
  }

  .pos-header h1 {
    font-size: 29px;
  }

  .pos-status {
    min-height: 30px;
  }

  .pos-layout {
    display: block;

    min-height: auto;
  }

  .pos-main {
    padding:
      4px
      14px
      calc(
        115px +
        env(safe-area-inset-bottom)
      );
  }

  .pos-category-nav {
    position: sticky;

    top: 8px;

    margin-bottom: 26px;
  }

  .pos-category-nav-inner {
    min-height: 52px;

    padding:
      7px;
  }

  .pos-category-nav-links {
    width: 100%;
  }

  .pos-category-anchor {
    min-height: 37px;
  }

  .pos-categories {
    gap: 36px;
  }

  .pos-section-heading {
    align-items: flex-start;

    gap: 10px;
  }

  .pos-section-heading h2 {
    font-size: 20px;
  }

  .pos-section-heading p {
    font-size: 10px;
  }

  .pos-products-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 8px;
  }

  .pos-product-button {
    min-height: 126px;

    padding: 13px;
  }

  .pos-product-name {
    font-size: 12px;
  }

  .pos-product-price {
    font-size: 10px;
  }

  .pos-product-add {
    padding-top: 14px;
  }


  /* ----------------------------------------
     Mobile drawer
  ---------------------------------------- */

  .pos-cart {
    position: fixed;

    top: auto;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: min(
      82dvh,
      760px
    );

    border: 0;

    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    box-shadow:
      0 -12px 50px
      rgba(16, 24, 40, 0.18);

    transform:
      translateY(105%);

    transition:
      transform 220ms ease;

    z-index: 160;
  }

  .pos-cart.is-open {
    transform:
      translateY(0);
  }

  .pos-cart-mobile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    flex-shrink: 0;

    padding:
      14px
      16px
      11px;

    border-bottom:
      1px
      solid
      var(--color-border);
  }

  .pos-cart-mobile-heading strong {
    display: block;

    font-size: 13px;
  }

  .pos-cart-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    background:
      var(--color-surface-secondary);

    border: 0;

    border-radius: 50%;

    color: var(--color-text);

    font-size: 22px;

    cursor: pointer;
  }

  .pos-cart-header {
    padding:
      14px
      16px;
  }

  .pos-cart-lines {
    padding:
      4px
      16px;
  }

  .pos-cart-footer {
    padding:
      15px
      16px
      calc(
        15px +
        env(safe-area-inset-bottom)
      );
  }


  /* ----------------------------------------
     Backdrop
  ---------------------------------------- */

  .pos-cart-backdrop {
    position: fixed;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    padding: 0;

    background:
      rgba(11, 28, 48, 0.3);

    border: 0;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
      opacity 180ms ease,
      visibility 180ms ease;

    z-index: 150;
  }

  .pos-cart-backdrop.is-visible {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
  }


  /* ----------------------------------------
     Fixed live summary
  ---------------------------------------- */

  .pos-mobile-cart-bar {
    position: fixed;

    right: 12px;
    bottom:
      calc(
        12px +
        env(safe-area-inset-bottom)
      );
    left: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    min-height: 68px;

    padding:
      10px
      12px
      10px
      16px;

    background: var(--color-primary);

    border:
      1px
      solid
      rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    box-shadow:
      0 14px 36px
      rgba(11, 28, 48, 0.28);

    color: #ffffff;

    font: inherit;
    text-align: left;

    cursor: pointer;

    z-index: 140;

    -webkit-tap-highlight-color:
      transparent;
  }

  .pos-mobile-cart-information {
    display: flex;
    flex-direction: column;

    gap: 2px;
  }

  .pos-mobile-cart-count {
    color:
      rgba(255, 255, 255, 0.7);

    font-size: 9px;
    font-weight: 650;
  }

  .pos-mobile-cart-total {
    color: #ffffff;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -0.03em;
  }

  .pos-mobile-cart-action {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    font-size: 10px;
    font-weight: 750;
  }

  .pos-mobile-cart-action > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background:
      rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    font-size: 14px;
  }
}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media (max-width: 430px) {
  .pos-products-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .pos-product-button {
    min-height: 120px;

    padding: 11px;
  }

  .pos-section-heading {
    flex-direction: column;
  }

  .pos-product-count {
    align-self: flex-start;
  }
}


/* ========================================
   LANDSCAPE MOBILE
======================================== */

@media (
  max-width: 699px
) and (
  orientation: landscape
) {
  .pos-cart {
    height: 94dvh;
  }

  .pos-cart-lines {
    max-height: 36dvh;
  }
}
