.vm-voucher-sku-drawer {
  color: #241c3f;
  font-family: 'Vending DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  .pisell-lowcode-floating-layer-content-wrapper {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
  }
  .pisell-lowcode-floating-layer-content {
    // Let short lists determine the height, and shrink only the body for long lists.
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    color: #241c3f;
    font-family: inherit;
  }
  .pisell-lowcode-floating-layer-title {
    color: inherit;
  }
  .pisell-lowcode-floating-layer-header {
    padding: 28px 32px 18px;
    border-bottom: 0;
  }
  .pisell-lowcode-floating-layer-body {
    padding: 0 32px;
    overscroll-behavior: contain;
  }
  .pisell-lowcode-floating-layer-footer {
    padding: 20px 32px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .vm-voucher-sku-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    h2 {
      margin: 0;
      font-size: 28px;
      font-weight: 700;
      color: inherit;
    }
    > span {
      flex-shrink: 0;
      color: #817b92;
      font-size: 20px;
      font-weight: 400;
    }
  }
  .vm-voucher-sku-row {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 108px;
    padding: 20px 0;
    border-bottom: 1px solid #e7e5eb;
    > [role='group'] {
      flex-shrink: 0;
    }
    &.is-unavailable .vm-voucher-sku-label {
      color: #9691a2;
    }
  }
  .vm-voucher-sku-dot,
  .vm-voucher-sku-image {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--vm-primary-bg);
    border: 1px solid var(--vm-primary-border);
  }
  .vm-voucher-sku-label {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    h3 {
      margin: 0;
      font-size: 26px;
      font-weight: 650;
      line-height: 1.3;
      color: inherit;
    }
    p {
      margin: 6px 0 0;
      color: #817b92;
      font-size: 18px;
      line-height: 1.4;
    }
  }
  .vm-voucher-sku-stepper {
    width: auto;
    height: auto;
    gap: 16px;
    .numeric-stepper-button {
      width: 64px;
      height: 64px;
      border-radius: 20px;
      font-size: 34px;
      background: var(--vm-primary);
      color: var(--vm-primary-foreground);
    }
    .numeric-stepper-minus {
      border: 2px solid #efedf3;
      background: #fff;
      color: #241c3f;
    }
    .numeric-stepper-button-disabled {
      background: #fff !important;
      border: 2px solid #f2f1f5;
      color: #c0bcc8;
    }
    .numeric-stepper-display {
      width: auto;
      height: auto;
      min-width: 30px;
      padding: 0;
      color: #241c3f;
      font-size: 30px;
      font-variant-numeric: tabular-nums;
    }
  }
  .vm-voucher-sku-actions {
    display: flex;
    gap: 16px;
    button {
      flex: 1;
      min-height: 64px;
      padding: 12px 24px;
      border: 2px solid #e3e0e9;
      border-radius: 18px;
      background: #fff;
      color: #241c3f;
      font: inherit;
      font-size: 22px;
      font-weight: 650;
      cursor: pointer;
      &:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
    }
    .vm-voucher-sku-confirm {
      background: var(--vm-primary);
      border-color: var(--vm-primary);
      color: var(--vm-primary-foreground);
      &:hover:not(:disabled) {
        background: var(--vm-primary-hover);
      }
    }
  }
}

@media (max-width: 620px) {
  .vm-voucher-sku-drawer {
    .pisell-lowcode-floating-layer-header {
      padding: 24px 16px 12px;
    }
    .pisell-lowcode-floating-layer-body {
      padding-inline: 16px;
    }
    .pisell-lowcode-floating-layer-footer {
      padding-inline: 16px;
    }
    .vm-voucher-sku-heading {
      flex-wrap: wrap;
      gap: 4px;
      h2 {
        font-size: 24px;
      }
    }
    .vm-voucher-sku-heading > span {
      font-size: 16px;
    }
    .vm-voucher-sku-row {
      gap: 12px;
      min-height: 90px;
    }
    .vm-voucher-sku-dot,
    .vm-voucher-sku-image {
      display: none;
    }
    .vm-voucher-sku-label {
      h3 {
        font-size: 20px;
      }
      p {
        font-size: 15px;
      }
    }
    .vm-voucher-sku-stepper {
      gap: 8px;
      .numeric-stepper-button {
        width: 44px;
        height: 48px;
        border-radius: 14px;
        font-size: 26px;
      }
      .numeric-stepper-display {
        min-width: 22px;
        font-size: 22px;
      }
    }
    .vm-voucher-sku-actions button {
      min-height: 54px;
      font-size: 18px;
    }
  }
}
